e3153284288d6cfa7a28511dfefe1c8a7d6b4eda
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private resetDispatcher() : void renamed to private resetRMContext() : void in class org.apache.hadoop.yarn.server.resourcemanager.ResourceManager | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type rmContext : RMContext to timelineCollectorManager : RMTimelineCollectorManager in method public TimelineServiceV2Publisher(timelineCollectorManager RMTimelineCollectorManager) in class org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher | From | To | |
Change Parameter Type rmContext : RMContext to rm : ResourceManager in method package ActiveStandbyElectorBasedElectorService(rm ResourceManager) in class org.apache.hadoop.yarn.server.resourcemanager.ActiveStandbyElectorBasedElectorService | From | To | |
Change Parameter Type rmContext : RMContext to resourceManager : ResourceManager in method public RMTimelineCollectorManager(resourceManager ResourceManager) in class org.apache.hadoop.yarn.server.resourcemanager.timelineservice.RMTimelineCollectorManager | From | To | |
Move Method | 2 | ||
Move Method public getRMTimelineCollectorManager() : RMTimelineCollectorManager from class org.apache.hadoop.yarn.server.resourcemanager.RMActiveServiceContext to public getRMTimelineCollectorManager() : RMTimelineCollectorManager from class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext | From | To | |
Move Method public setRMTimelineCollectorManager(collectorManager RMTimelineCollectorManager) : void from class org.apache.hadoop.yarn.server.resourcemanager.RMActiveServiceContext to public setRMTimelineCollectorManager(collectorManager RMTimelineCollectorManager) : void from class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext | From | To | |
Move Attribute | 13 | ||
Move Attribute private rmDispatcher : Dispatcher from class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl to private rmDispatcher : Dispatcher from class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext | From | To | |
Move Attribute private configurationProvider : ConfigurationProvider from class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl to private configurationProvider : ConfigurationProvider from class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext | From | To | |
Move Attribute private resourceManager : ResourceManager from class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl to private resourceManager : ResourceManager from class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext | From | To | |
Move Attribute private elector : EmbeddedElector from class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl to private elector : EmbeddedElector from class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext | From | To | |
Move Attribute private timelineCollectorManager : RMTimelineCollectorManager from class org.apache.hadoop.yarn.server.resourcemanager.RMActiveServiceContext to private timelineCollectorManager : RMTimelineCollectorManager from class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext | From | To | |
Move Attribute private rmApplicationHistoryWriter : RMApplicationHistoryWriter from class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl to private rmApplicationHistoryWriter : RMApplicationHistoryWriter from class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext | From | To | |
Move Attribute private haServiceState : HAServiceState from class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl to private haServiceState : HAServiceState from class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext | From | To | |
Move Attribute private yarnConfiguration : Configuration from class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl to private yarnConfiguration : Configuration from class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext | From | To | |
Move Attribute private queueLimitCalculator : QueueLimitCalculator from class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl to private queueLimitCalculator : QueueLimitCalculator from class org.apache.hadoop.yarn.server.resourcemanager.RMActiveServiceContext | From | To | |
Move Attribute private adminService : AdminService from class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl to private adminService : AdminService from class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext | From | To | |
Move Attribute private systemMetricsPublisher : SystemMetricsPublisher from class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl to private systemMetricsPublisher : SystemMetricsPublisher from class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext | From | To | |
Move Attribute private haServiceStateLock : Object from class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl to private haServiceStateLock : Object from class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext | From | To | |
Move Attribute private isHAEnabled : boolean from class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl to private isHAEnabled : boolean from class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext | From | To | |
Extract Class | 2 | ||
Extract Class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext from class org.apache.hadoop.yarn.server.resourcemanager.RMActiveServiceContext | From | To | |
Extract Class org.apache.hadoop.yarn.server.resourcemanager.RMServiceContext from class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl | From | To | |
Rename Attribute | 2 | ||
Rename Attribute rmContext : RMContext to rm : ResourceManager in class org.apache.hadoop.yarn.server.resourcemanager.ActiveStandbyElectorBasedElectorService | From | To | |
Rename Attribute rmContext : RMContext to rm : ResourceManager in class org.apache.hadoop.yarn.server.resourcemanager.timelineservice.RMTimelineCollectorManager | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type rmContext : RMContext to rm : ResourceManager in class org.apache.hadoop.yarn.server.resourcemanager.timelineservice.RMTimelineCollectorManager | From | To | |
Change Attribute Type rmContext : RMContext to rm : ResourceManager in class org.apache.hadoop.yarn.server.resourcemanager.ActiveStandbyElectorBasedElectorService | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public getNodeManagerQueueLimitCalculator() : QueueLimitCalculator extracted from public getNodeManagerQueueLimitCalculator() : QueueLimitCalculator in class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl & moved to class org.apache.hadoop.yarn.server.resourcemanager.RMActiveServiceContext | From | To | |
Extract And Move Method public setContainerQueueLimitCalculator(limitCalculator QueueLimitCalculator) : void extracted from public setContainerQueueLimitCalculator(limitCalculator QueueLimitCalculator) : void in class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl & moved to class org.apache.hadoop.yarn.server.resourcemanager.RMActiveServiceContext | From | To | |
Rename Parameter | 3 | ||
Rename Parameter rmContext : RMContext to resourceManager : ResourceManager in method public RMTimelineCollectorManager(resourceManager ResourceManager) in class org.apache.hadoop.yarn.server.resourcemanager.timelineservice.RMTimelineCollectorManager | From | To | |
Rename Parameter rmContext : RMContext to timelineCollectorManager : RMTimelineCollectorManager in method public TimelineServiceV2Publisher(timelineCollectorManager RMTimelineCollectorManager) in class org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher | From | To | |
Rename Parameter rmContext : RMContext to rm : ResourceManager in method package ActiveStandbyElectorBasedElectorService(rm ResourceManager) in class org.apache.hadoop.yarn.server.resourcemanager.ActiveStandbyElectorBasedElectorService | From | To |