40b5a59b726733df456330a26f03d5174cc0bc1c
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 2 | ||
Change Return Type List<String> to Set<String> in method public resourceLocalized(request LocalResourceRequest, location Path) : Set<String> in class org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceSet | From | To | |
Change Return Type Map<LocalResourceRequest,List<String>> to Map<LocalResourceRequest,Set<String>> in method public getPendingResources() : Map<LocalResourceRequest,Set<String>> in class org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceSet | From | To | |
Change Variable Type | 4 | ||
Change Variable Type syms : List<String> to syms : Set<String> in method public transition(container ContainerImpl, event ContainerEvent) : ContainerState in class org.apache.hadoop.yarn.server.nodemanager.containermanager.container.ContainerImpl.LocalizedTransition | From | To | |
Change Variable Type links : List<String> to links : Set<String> in method public transition(container ContainerImpl, event ContainerEvent) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.container.ContainerImpl.ResourceLocalizedWhileRunningTransition | From | To | |
Change Variable Type symlinks : List<String> to symlinks : Set<String> in method public resourceLocalized(request LocalResourceRequest, location Path) : Set<String> in class org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceSet | From | To | |
Change Variable Type allResources : Map<LocalResourceRequest,List<String>> to allResources : Map<LocalResourceRequest,Set<String>> in method public addResources(localResourceMap Map<String,LocalResource>) : Map<LocalResourceVisibility,Collection<LocalResourceRequest>> in class org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceSet | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type pendingResources : Map<LocalResourceRequest,List<String>> to pendingResources : Map<LocalResourceRequest,Set<String>> in class org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceSet | From | To | |
Change Attribute Type localizedResources : Map<Path,List<String>> to localizedResources : Map<String,Path> in class org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceSet | From | To | |
Extract Method | 2 | ||
Extract Method private preUpgradeOrLocalizeCheck(containerId ContainerId, op ReinitOp) : Container extracted from public localize(request ResourceLocalizationRequest) : ResourceLocalizationResponse in class org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl | From | To | |
Extract Method private configureRetryContext(conf Configuration, launchContext ContainerLaunchContext, containerId ContainerId) : ContainerRetryContext extracted from public ContainerImpl(conf Configuration, dispatcher Dispatcher, launchContext ContainerLaunchContext, creds Credentials, metrics NodeManagerMetrics, containerTokenIdentifier ContainerTokenIdentifier, context Context) in class org.apache.hadoop.yarn.server.nodemanager.containermanager.container.ContainerImpl | From | To |