883f68222a9cfd06f79a8fcd75ec9fef00abc035
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type container : Container to containerId : ContainerId in method public writeCommandToTempFile(cmd DockerCommand, containerId ContainerId, nmContext Context) : String in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.docker.DockerClient | From | To | |
Rename Variable | 3 | ||
Rename Variable dockerCommands : List<String> to args : List<String> in method public testExecuteDockerInspectStatus() : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.docker.TestDockerCommandExecutor | From | To | |
Rename Variable dockerCommands : List<String> to args : List<String> in method public testExecuteDockerRm() : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.docker.TestDockerCommandExecutor | From | To | |
Rename Variable container : Container to containerId : ContainerId in method public relaunchContainer(ctx ContainerRuntimeContext) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DockerLinuxContainerRuntime | From | To | |
Change Variable Type | 1 | ||
Change Variable Type container : Container to containerId : ContainerId in method public relaunchContainer(ctx ContainerRuntimeContext) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DockerLinuxContainerRuntime | From | To | |
Extract Variable | 2 | ||
Extract Variable containerId : ContainerId in method public launchContainer(ctx ContainerRuntimeContext) : void from class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DockerLinuxContainerRuntime | From | To | |
Extract Variable containerId : ContainerId in method public getIpAndHost(container Container) : String[] from class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DockerLinuxContainerRuntime | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public preparePrivilegedOperation(dockerCommand DockerCommand, containerName String, env Map<String,String>, conf Configuration, nmContext Context) : PrivilegedOperation extracted from public executeDockerCommand(dockerCommand DockerCommand, containerId String, env Map<String,String>, conf Configuration, privilegedOperationExecutor PrivilegedOperationExecutor, disableFailureLogging boolean, nmContext Context) : String in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.docker.DockerCommandExecutor & moved to class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.docker.DockerCommand | From | To | |
Rename Parameter | 1 | ||
Rename Parameter container : Container to containerId : ContainerId in method public writeCommandToTempFile(cmd DockerCommand, containerId ContainerId, nmContext Context) : String in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.docker.DockerClient | From | To |