7ecbfd44aa57f5f54c214b7fdedda2500be76f51
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable nodesTobeIncluded : Set<String> to includedNodes : Set<String> in method package parse(args String[]) : Parameters in class org.apache.hadoop.hdfs.server.balancer.Balancer.Cli | From | To | |
Rename Attribute | 2 | ||
Rename Attribute nodesToBeIncluded : Set<String> to includedNodes : Set<String> in class org.apache.hadoop.hdfs.server.balancer.Balancer.Parameters | From | To | |
Rename Attribute nodesToBeExcluded : Set<String> to excludedNodes : Set<String> in class org.apache.hadoop.hdfs.server.balancer.Balancer.Parameters | From | To | |
Extract Variable | 2 | ||
Extract Variable average : double in method private init(reports List<DatanodeStorageReport>) : long from class org.apache.hadoop.hdfs.server.balancer.Balancer | From | To | |
Extract Variable received : long in method private dispatchBlocks() : void from class org.apache.hadoop.hdfs.server.balancer.Dispatcher.Source | From | To | |
Rename Parameter | 2 | ||
Rename Parameter nodesToBeIncluded : Set<String> to includedNodes : Set<String> in method package Parameters(policy BalancingPolicy, threshold double, maxIdleIteration int, excludedNodes Set<String>, includedNodes Set<String>, sourceNodes Set<String>, runDuringUpgrade boolean) in class org.apache.hadoop.hdfs.server.balancer.Balancer.Parameters | From | To | |
Rename Parameter nodesToBeExcluded : Set<String> to excludedNodes : Set<String> in method package Parameters(policy BalancingPolicy, threshold double, maxIdleIteration int, excludedNodes Set<String>, includedNodes Set<String>, sourceNodes Set<String>, runDuringUpgrade boolean) in class org.apache.hadoop.hdfs.server.balancer.Balancer.Parameters | From | To |