754cb4e30fac1c5fe8d44626968c0ddbfe459335
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 6 | ||
Pull Up Method public getSchedulerHealth() : SchedulerHealth from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler to public getSchedulerHealth() : SchedulerHealth from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Pull Up Method package setClock(clock Clock) : void from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler to public setClock(clock Clock) : void from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Pull Up Method public getClock() : Clock from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler to public getClock() : Clock from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Pull Up Method private setLastNodeUpdateTime(time long) : void from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler to protected setLastNodeUpdateTime(time long) : void from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Pull Up Method private getNode(nodeId NodeId) : FiCaSchedulerNode from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.FifoScheduler to public getNode(nodeId NodeId) : SchedulerNode from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Pull Up Method public getLastNodeUpdateTime() : long from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler to public getLastNodeUpdateTime() : long from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Rename Variable | 1 | ||
Rename Variable node : FSSchedulerNode to fsNode : FSSchedulerNode in method protected nodeUpdate(nm RMNode) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute private schedulerHealth : SchedulerHealth from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler to protected schedulerHealth : SchedulerHealth from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Pull Up Attribute package lastNodeUpdateTime : long from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler to protected lastNodeUpdateTime : long from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Pull Up Attribute private clock : Clock from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler to private clock : Clock from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Change Return Type | 2 | ||
Change Return Type SchedulerNode to N in method public getSchedulerNode(nodeId NodeId) : N in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Change Return Type FiCaSchedulerNode to SchedulerNode in method public getNode(nodeId NodeId) : SchedulerNode in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Change Variable Type | 1 | ||
Change Variable Type mNode : SchedulerNode to mNode : FiCaSchedulerNode in method private setResourceAndNodeDetails() : void in class org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TestProportionalCapacityPreemptionPolicy | From | To | |
Inline Variable | 1 | ||
Inline Variable node : RMNode in method public handle(event SchedulerEvent) : void from class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method protected nodeUpdate(nm RMNode) : void extracted from private nodeUpdate(nm RMNode) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler & moved to class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Extract And Move Method protected nodeUpdate(nm RMNode) : void extracted from private nodeUpdate(nm RMNode) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler & moved to class org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler | From | To | |
Rename Parameter | 1 | ||
Rename Parameter rmNode : RMNode to nm : RMNode in method protected nodeUpdate(nm RMNode) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fifo.FifoScheduler | From | To |