febeead5f95c6fc245ea3735f5b538d4bb4dc8a4
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Parameterize Variable | 1 | ||
Parameterize Variable errorFile : Path to filePath : Path in method private tailFile(filePath Path, fileSize long, tailSizeInBytes long) : byte[] in class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch | From | To | |
Extract Method | 3 | ||
Extract Method private tailFile(filePath Path, fileSize long, tailSizeInBytes long) : byte[] extracted from protected handleContainerExitWithFailure(containerID ContainerId, ret int, containerLogDir Path, diagnosticInfo StringBuilder) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch | From | To | |
Extract Method protected buildCommand(command String...) : void extracted from protected line(command String...) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.ShellScriptBuilder | From | To | |
Extract Method protected linebreak(command String...) : void extracted from protected line(command String...) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.ShellScriptBuilder | From | To |