16d483f9003ddee71404f37ce7694003d1a18ac4
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private calculateRebalancedSplits(list List<InputSplit>, context JobContext, average long) : List<InputSplit> renamed to public calculateAutoBalancedSplits(splits List<InputSplit>, maxAverageRegionSize long) : List<InputSplit> in class org.apache.hadoop.hbase.mapreduce.TableInputFormatBase | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type ratio : String to splitsPerRegion : int in method public testNumOfSplits(splitsPerRegion int, expectedNumOfSplits int) : void in class org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScanBase | From | To | |
Rename Variable | 1 | ||
Rename Variable enableAutoBalance : boolean to nSplitsPerRegion : int in method public getSplits(context JobContext) : List<InputSplit> in class org.apache.hadoop.hbase.mapreduce.TableInputFormatBase | From | To | |
Change Variable Type | 1 | ||
Change Variable Type enableAutoBalance : boolean to nSplitsPerRegion : int in method public getSplits(context JobContext) : List<InputSplit> in class org.apache.hadoop.hbase.mapreduce.TableInputFormatBase | From | To | |
Extract Method | 1 | ||
Extract Method private oneInputSplitPerRegion() : List<InputSplit> extracted from public getSplits(context JobContext) : List<InputSplit> in class org.apache.hadoop.hbase.mapreduce.TableInputFormatBase | From | To | |
Rename Parameter | 3 | ||
Rename Parameter ratio : String to splitsPerRegion : int in method public testNumOfSplits(splitsPerRegion int, expectedNumOfSplits int) : void in class org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScanBase | From | To | |
Rename Parameter average : long to maxAverageRegionSize : long in method public calculateAutoBalancedSplits(splits List<InputSplit>, maxAverageRegionSize long) : List<InputSplit> in class org.apache.hadoop.hbase.mapreduce.TableInputFormatBase | From | To | |
Rename Parameter list : List<InputSplit> to splits : List<InputSplit> in method public calculateAutoBalancedSplits(splits List<InputSplit>, maxAverageRegionSize long) : List<InputSplit> in class org.apache.hadoop.hbase.mapreduce.TableInputFormatBase | From | To |