c7a5a4435ec3098c2765e8ef53b7771e0532ff61
Files Diff
- Added: 7
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute src : Path to manifest : Path in method public serviceInit(conf Configuration) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices | From | To | |
Replace Variable With Attribute download : FSDownload to manifestReloadInterval : long in method public serviceInit(conf Configuration) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable recoveryEnabled : boolean to fromConfiguration : boolean in method private createAuxService(service AuxServiceRecord, conf Configuration, fromConfiguration boolean) : AuxiliaryService in class org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices | From | To | |
Change Variable Type | 1 | ||
Change Variable Type download : FSDownload to manifestReloadInterval : long in method public serviceInit(conf Configuration) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices | From | To | |
Extract Variable | 1 | ||
Extract Variable customConf : Configuration in method private initAuxService(service AuxServiceRecord, conf Configuration, fromConfiguration boolean) : AuxiliaryService from class org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices | From | To | |
Extract Method | 11 | ||
Extract Method private getABConf(aName String, bName String, aClass Class<? extends Service>, bClass Class<? extends Service>) : Configuration extracted from public testAuxServiceRecoverySetup() : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.TestAuxServices | From | To | |
Extract Method private startAuxService(name String, service AuxiliaryService, serviceRecord AuxServiceRecord) : void extracted from public serviceStart() : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices | From | To | |
Extract Method private stopAuxService(service Service) : void extracted from public serviceStop() : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices | From | To | |
Extract Method private initAuxService(service AuxServiceRecord, conf Configuration, fromConfiguration boolean) : AuxiliaryService extracted from public serviceInit(conf Configuration) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices | From | To | |
Extract Method private createAuxService(service AuxServiceRecord, conf Configuration, fromConfiguration boolean) : AuxiliaryService extracted from public serviceInit(conf Configuration) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices | From | To | |
Extract Method private getABConf() : Configuration extracted from public testAuxServices() : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.TestAuxServices | From | To | |
Extract Method private maybeDownloadJars(sName String, className String, remoteFile String, type AuxServiceFile.TypeEnum, conf Configuration) : Path extracted from public serviceInit(conf Configuration) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices | From | To | |
Extract Method private getABConf(aName String, bName String, aClass Class<? extends Service>, bClass Class<? extends Service>) : Configuration extracted from public testValidAuxServiceName() : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.TestAuxServices | From | To | |
Extract Method private setStateStoreDir(sName String, s AuxiliaryService) : void extracted from public serviceInit(conf Configuration) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices | From | To | |
Extract Method private getABConf() : Configuration extracted from public testAuxUnexpectedStop() : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.TestAuxServices | From | To | |
Extract Method private getABConf() : Configuration extracted from public testAuxServicesMeta() : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.TestAuxServices | From | To |