26ac60b03f80c9215103a02db783341e67037753
Files Diff
- Added: 7
- Removed: 0
- Renamed: 0
- Modified: 41
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Variable Type | 2 | ||
Change Variable Type unmatchedFamilies : ArrayList<String> to unmatchedFamilies : List<String> in method private validateFamiliesInHFiles(table Table, queue Deque<LoadQueueItem>) : void in class org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles | From | To | |
Change Variable Type familyNames : ArrayList<String> to familyNames : List<String> in method private validateFamiliesInHFiles(table Table, queue Deque<LoadQueueItem>) : void in class org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles | From | To | |
Extract Method | 6 | ||
Extract Method private validateFamiliesInHFiles(table Table, queue Deque<LoadQueueItem>) : void extracted from public doBulkLoad(hfofDir Path, admin Admin, table Table, regionLocator RegionLocator) : void in class org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles | From | To | |
Extract Method private createWALEntryBuilder(table TableName) : WALEntry.Builder extracted from private createEntry(table TableName, row int, type KeyValue.Type, cells List<Cell>) : WALEntry in class org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink | From | To | |
Extract Method private createExecutorService() : ExecutorService extracted from public doBulkLoad(hfofDir Path, admin Admin, table Table, regionLocator RegionLocator) : void in class org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles | From | To | |
Extract Method private setUpClusterTablesAndPeers(numClusters int) : Table[] extracted from public testCyclicReplication1() : void in class org.apache.hadoop.hbase.replication.TestMasterReplication | From | To | |
Extract Method private getConnection() : Connection extracted from protected batch(tableName TableName, allRows Collection<List<Row>>) : void in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSink | From | To | |
Extract Method public prepareHFileQueue(hfofDir Path, table Table, queue Deque<LoadQueueItem>, validateHFile boolean) : void extracted from public doBulkLoad(hfofDir Path, admin Admin, table Table, regionLocator RegionLocator) : void in class org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public shipBatch(batchSize long, sizeInKB int, hfiles long) : void extracted from protected shipEdits(currentWALisBeingWrittenTo boolean, entries List<WAL.Entry>) : void in class org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.ReplicationSourceWorkerThread & moved to class org.apache.hadoop.hbase.replication.regionserver.MetricsSource | From | To |