5f57b904f550515693d93a2959e663b0d0260696
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Class | 1 | ||
Move And Rename Class org.apache.hadoop.yarn.nodelabels.CommonNodeLabelsManager.Label moved and renamed to org.apache.hadoop.yarn.nodelabels.NodeLabel | From | To | |
Change Variable Type | 4 | ||
Change Variable Type label : Label to label : NodeLabel in method private updateResourceMappings(before Map<String,Host>, after Map<String,Host>) : void in class org.apache.hadoop.yarn.server.resourcemanager.nodelabels.RMNodeLabelsManager | From | To | |
Extract Method | 2 | ||
Extract Method private buildRMNode(rack int, perNode Resource, state NodeState, httpAddr String, labels Set<String>) : RMNode extracted from private buildRMNode(rack int, perNode Resource, state NodeState, httpAddr String) : RMNode in class org.apache.hadoop.yarn.server.resourcemanager.MockNodes | From | To | |
Extract Method private buildRMNode(rack int, perNode Resource, state NodeState, httpAddr String, hostnum int, hostName String, port int, labels Set<String>) : RMNode extracted from private buildRMNode(rack int, perNode Resource, state NodeState, httpAddr String, hostnum int, hostName String, port int) : RMNode in class org.apache.hadoop.yarn.server.resourcemanager.MockNodes | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type labelCollections : ConcurrentMap<String,Label> to labelCollections : ConcurrentMap<String,NodeLabel> in class org.apache.hadoop.yarn.nodelabels.CommonNodeLabelsManager | From | To |