588baab160e7c328dca1c45cf3541e79218406e8
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Method | 1 | ||
Extract Method protected chooseFavouredNodes(src String, numOfReplicas int, favoredNodes List<DatanodeDescriptor>, favoriteAndExcludedNodes Set<Node>, blocksize long, maxNodesPerRack int, results List<DatanodeStorageInfo>, avoidStaleNodes boolean, storageTypes EnumMap<StorageType,Integer>) : void extracted from package chooseTarget(src String, numOfReplicas int, writer Node, excludedNodes Set<Node>, blocksize long, favoredNodes List<DatanodeDescriptor>, storagePolicy BlockStoragePolicy) : DatanodeStorageInfo[] in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault | From | To | |
Rename Parameter | 1 | ||
Rename Parameter fallbackToLocalRack : boolean to fallbackToNodeGroupAndLocalRack : boolean in method protected chooseLocalStorage(localMachine Node, excludedNodes Set<Node>, blocksize long, maxNodesPerRack int, results List<DatanodeStorageInfo>, avoidStaleNodes boolean, storageTypes EnumMap<StorageType,Integer>, fallbackToNodeGroupAndLocalRack boolean) : DatanodeStorageInfo in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyWithNodeGroup | From | To |