db1b674b50ddecf2774f4092d677c412722bdcb1
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable argName : String to operation : String in method public replaceLabelsOnNode(request ReplaceLabelsOnNodeRequest) : ReplaceLabelsOnNodeResponse in class org.apache.hadoop.yarn.server.resourcemanager.AdminService | From | To | |
Rename Variable argName : String to operation : String in method public removeFromClusterNodeLabels(request RemoveFromClusterNodeLabelsRequest) : RemoveFromClusterNodeLabelsResponse in class org.apache.hadoop.yarn.server.resourcemanager.AdminService | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable nodeIdToLabels : Map<NodeId,Set<String>> to newLabelsForNode : Map<NodeId,Set<String>> in method private replaceLabelsOnNode(newLabelsForNode Map<NodeId,Set<String>>, hsr HttpServletRequest, operation String) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
Rename Attribute | 1 | ||
Rename Attribute isDistributesNodeLabelsConf : boolean to isDistributedNodeLabelsConf : boolean in class org.apache.hadoop.yarn.server.resourcemanager.ResourceTrackerService | From | To | |
Extract Method | 2 | ||
Extract Method private replaceLabelsOnNode(newLabelsForNode Map<NodeId,Set<String>>, hsr HttpServletRequest, operation String) : Response extracted from public replaceLabelsOnNodes(newNodeToLabels NodeToLabelsInfo, hsr HttpServletRequest) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
Extract Method private replaceLabelsOnNode(newLabelsForNode Map<NodeId,Set<String>>, hsr HttpServletRequest, operation String) : Response extracted from public replaceLabelsOnNode(newNodeLabelsInfo NodeLabelsInfo, hsr HttpServletRequest, nodeId String) : Response in class org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public isDistributedNodeLabelConfiguration(conf Configuration) : boolean extracted from protected serviceInit(conf Configuration) : void in class org.apache.hadoop.yarn.server.resourcemanager.ResourceTrackerService & moved to class org.apache.hadoop.yarn.conf.YarnConfiguration | From | To | |
Rename Parameter | 2 | ||
Rename Parameter argName : String to operation : String in method private checkRMStatus(user String, operation String, msg String) : void in class org.apache.hadoop.yarn.server.resourcemanager.AdminService | From | To | |
Rename Parameter argName : String to operation : String in method private logAndWrapException(exception Exception, user String, operation String, msg String) : YarnException in class org.apache.hadoop.yarn.server.resourcemanager.AdminService | From | To |