79bf5c084d4a063f1a933cae498af23edfd46792
Files Diff
- Added: 4
- Removed: 1
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 3 | ||
Pull Up Method private createComponent(name String, numContainers long, command String) : Component from class org.apache.hadoop.yarn.service.TestYarnNativeServices to protected createComponent(name String, numContainers long, command String) : Component from class org.apache.hadoop.yarn.service.ServiceTestUtils | From | To | |
Pull Up Method private createComponent(name String) : Component from class org.apache.hadoop.yarn.service.TestYarnNativeServices to protected createComponent(name String) : Component from class org.apache.hadoop.yarn.service.ServiceTestUtils | From | To | |
Pull Up Method private createExampleApplication() : Application from class org.apache.hadoop.yarn.service.TestYarnNativeServices to protected createExampleApplication() : Application from class org.apache.hadoop.yarn.service.ServiceTestUtils | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.hadoop.yarn.service.ServiceTestUtils from classes [org.apache.hadoop.yarn.service.TestYarnNativeServices] | From | To | |
Extract Method | 7 | ||
Extract Method protected createAMRMClient() : AMRMClientAsync<AMRMClient.ContainerRequest> extracted from public buildInstance(context ServiceContext, configuration Configuration) : void in class org.apache.hadoop.yarn.service.ServiceScheduler | From | To | |
Extract Method protected loadApplicationJson(context ServiceContext, fs SliderFileSystem) : void extracted from protected serviceInit(conf Configuration) : void in class org.apache.hadoop.yarn.service.ServiceMaster | From | To | |
Extract Method protected createServiceScheduler(context ServiceContext) : ServiceScheduler extracted from protected serviceInit(conf Configuration) : void in class org.apache.hadoop.yarn.service.ServiceMaster | From | To | |
Extract Method protected createNMClient() : NMClientAsync extracted from public buildInstance(context ServiceContext, configuration Configuration) : void in class org.apache.hadoop.yarn.service.ServiceScheduler | From | To | |
Extract Method protected createYarnRegistryOperations(context ServiceContext, registryClient RegistryOperations) : YarnRegistryViewForProviders extracted from public buildInstance(context ServiceContext, configuration Configuration) : void in class org.apache.hadoop.yarn.service.ServiceScheduler | From | To | |
Extract Method protected getAppDir() : Path extracted from protected serviceInit(conf Configuration) : void in class org.apache.hadoop.yarn.service.ServiceMaster | From | To | |
Extract Method protected getAMContainerId() : ContainerId extracted from protected serviceInit(conf Configuration) : void in class org.apache.hadoop.yarn.service.ServiceMaster | From | To |