5ce70e1211e624d58e8bb1181aec00729ebdc085
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public cleanupContainer() : void from class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch to public run() : void from class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerCleanup | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type signal : Signal to signal : ContainerExecutor.Signal in method private sendSignal(user String, processId String, signal ContainerExecutor.Signal) : boolean in class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerCleanup | From | To | |
Move Method | 3 | ||
Move Method private sendSignal(user String, processId String, signal Signal) : boolean from class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch to private sendSignal(user String, processId String, signal ContainerExecutor.Signal) : boolean from class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerCleanup | From | To | |
Move Method private reapDockerContainerNoPid(user String) : void from class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch to private reapDockerContainerNoPid(user String) : void from class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerCleanup | From | To | |
Move Method private signalProcess(processId String, user String, containerIdStr String) : void from class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch to private signalProcess(processId String, user String, containerIdStr String) : void from class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerCleanup | From | To | |
Rename Variable | 1 | ||
Rename Variable launcher : ContainerLaunch to existingLaunch : ContainerLaunch in method public handle(event ContainersLauncherEvent) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainersLauncher | From | To | |
Move Attribute | 1 | ||
Move Attribute private sleepDelayBeforeSigKill : long from class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch to private sleepDelayBeforeSigKill : long from class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerCleanup | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerCleanup from class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch | From | To |