6c8e51ca7eaaeef0626658b3c45d446a537e4dc0
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable disableOverride : String to useEntryPoint : boolean in method public launchContainer(ctx ContainerRuntimeContext) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DockerLinuxContainerRuntime | From | To | |
Change Variable Type | 1 | ||
Change Variable Type disableOverride : String to useEntryPoint : boolean in method public launchContainer(ctx ContainerRuntimeContext) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DockerLinuxContainerRuntime | From | To | |
Extract Method | 4 | ||
Extract Method public buildContainerEnvironment(launcher AbstractLauncher, service Service, instance ComponentInstance, fileSystem SliderFileSystem, yarnConf Configuration, container Container, compLaunchContext ContainerLaunchService.ComponentLaunchContext, tokensForSubstitution Map<String,String>) : void extracted from public buildContainerLaunchContext(launcher AbstractLauncher, service Service, instance ComponentInstance, fileSystem SliderFileSystem, yarnConf Configuration, container Container, compLaunchContext ContainerLaunchService.ComponentLaunchContext) : void in class org.apache.hadoop.yarn.service.provider.AbstractProviderService | From | To | |
Extract Method public buildContainerRetry(launcher AbstractLauncher, yarnConf Configuration, compLaunchContext ContainerLaunchService.ComponentLaunchContext) : void extracted from public buildContainerLaunchContext(launcher AbstractLauncher, service Service, instance ComponentInstance, fileSystem SliderFileSystem, yarnConf Configuration, container Container, compLaunchContext ContainerLaunchService.ComponentLaunchContext) : void in class org.apache.hadoop.yarn.service.provider.AbstractProviderService | From | To | |
Extract Method public buildContainerLaunchCommand(launcher AbstractLauncher, service Service, instance ComponentInstance, fileSystem SliderFileSystem, yarnConf Configuration, container Container, compLaunchContext ContainerLaunchService.ComponentLaunchContext, tokensForSubstitution Map<String,String>) : void extracted from public buildContainerLaunchContext(launcher AbstractLauncher, service Service, instance ComponentInstance, fileSystem SliderFileSystem, yarnConf Configuration, container Container, compLaunchContext ContainerLaunchService.ComponentLaunchContext) : void in class org.apache.hadoop.yarn.service.provider.AbstractProviderService | From | To | |
Extract Method public buildContainerTokens(instance ComponentInstance, container Container, compLaunchContext ContainerLaunchService.ComponentLaunchContext) : Map<String,String> extracted from public buildContainerLaunchContext(launcher AbstractLauncher, service Service, instance ComponentInstance, fileSystem SliderFileSystem, yarnConf Configuration, container Container, compLaunchContext ContainerLaunchService.ComponentLaunchContext) : void in class org.apache.hadoop.yarn.service.provider.AbstractProviderService | From | To |