293cb87d52d6ccc98f0d03387f9dc07dc4522042
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Variable | 1 | ||
Merge Variable [tableDescriptor : HTableDescriptor, regionLocator : RegionLocator] to singleTableInfo : ArrayList<TableInfo> in method public configureIncrementalLoad(job Job, tableDescriptor HTableDescriptor, regionLocator RegionLocator) : void in class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 | From | To | |
Rename Attribute | 1 | ||
Rename Attribute TABLE_NAME : TableName to TABLE_NAMES : TableName[] in class org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2 | From | To | |
Extract Variable | 4 | ||
Extract Variable numTableDirs : int in method private doIncrementalLoadTest(shouldChangeRegions boolean, shouldKeepLocality boolean, putSortReducer boolean, tableStr List<String>) : void from class org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2 | From | To | |
Extract Variable admin : Admin in method private doIncrementalLoadTest(shouldChangeRegions boolean, shouldKeepLocality boolean, putSortReducer boolean, tableStr List<String>) : void from class org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2 | From | To | |
Extract Variable fullKey : byte[] in method private getRegionStartKeys(regionLocators List<RegionLocator>, writeMultipleTables boolean) : List<ImmutableBytesWritable> from class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 | From | To | |
Extract Variable r : RegionLocator in method private doIncrementalLoadTest(shouldChangeRegions boolean, shouldKeepLocality boolean, putSortReducer boolean, tableStr List<String>) : void from class org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2 | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type TABLE_NAME : TableName to TABLE_NAMES : TableName[] in class org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2 | From | To | |
Extract Method | 1 | ||
Extract Method private doIncrementalLoadTest(shouldChangeRegions boolean, shouldKeepLocality boolean, putSortReducer boolean, tableStr List<String>) : void extracted from private doIncrementalLoadTest(shouldChangeRegions boolean, shouldKeepLocality boolean, putSortReducer boolean, tableStr String) : void in class org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2 | From | To | |
Rename Parameter | 1 | ||
Rename Parameter family : byte[] to tableAndFamily : byte[] in method package configureStoragePolicy(conf Configuration, fs FileSystem, tableAndFamily byte[], cfPath Path) : void in class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 | From | To |