27d60a16342fd39973d43b61008f54a8815a6237
Files Diff
- Added: 8
- Removed: 0
- Renamed: 0
- Modified: 21
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 1 | ||
Pull Up Method private createClient() : ServiceClient from class org.apache.hadoop.yarn.service.TestYarnNativeServices to public createClient(conf Configuration) : ServiceClient from class org.apache.hadoop.yarn.service.ServiceTestUtils | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method private persistAppDef(appDir Path, service Service) : Path from class org.apache.hadoop.yarn.service.client.ServiceClient to public writeAppDefinition(fs SliderFileSystem, appDir Path, service Service) : Path from class org.apache.hadoop.yarn.service.utils.ServiceApiUtil | From | To | |
Move Method | 1 | ||
Move Method private createDirAndPersistApp(appDir Path, service Service) : void from class org.apache.hadoop.yarn.service.client.ServiceClient to public createDirAndPersistApp(fs SliderFileSystem, appDir Path, service Service) : void from class org.apache.hadoop.yarn.service.utils.ServiceApiUtil | From | To | |
Extract Method | 2 | ||
Extract Method private waitForServiceToBeInState(client ServiceClient, exampleApp Service, desiredState ServiceState) : void extracted from private waitForServiceToBeStable(client ServiceClient, exampleApp Service) : void in class org.apache.hadoop.yarn.service.TestYarnNativeServices | From | To | |
Extract Method private waitForServiceToBeInState(client ServiceClient, exampleApp Service, desiredState ServiceState) : void extracted from private waitForServiceToBeStarted(client ServiceClient, exampleApp Service) : void in class org.apache.hadoop.yarn.service.TestYarnNativeServices | From | To |