4e5e1c0f9938e51699c0437731e7b2eef699d6da
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 1 | ||
Move Method package triggerDeletionReportForTests() : void from class org.apache.hadoop.hdfs.server.datanode.BPServiceActor to package triggerDeletionReportForTests() : void from class org.apache.hadoop.hdfs.server.datanode.IncrementalBlockReportManager | From | To | |
Rename Variable | 3 | ||
Rename Variable bInfo : ReceivedDeletedBlockInfo to info : ReceivedDeletedBlockInfo in method private notifyNamenodeBlock(block ExtendedBlock, status BlockStatus, delHint String, storageUuid String) : void in class org.apache.hadoop.hdfs.server.datanode.BPOfferService | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.hadoop.hdfs.server.datanode.IncrementalBlockReportManager from class org.apache.hadoop.hdfs.server.datanode.BPServiceActor | From | To | |
Rename Attribute | 1 | ||
Rename Attribute pendingIncrementalBRperStorage : Map<DatanodeStorage,PerStoragePendingIncrementalBR> to ibrManager : IncrementalBlockReportManager in class org.apache.hadoop.hdfs.server.datanode.BPServiceActor | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type pendingIncrementalBRperStorage : Map<DatanodeStorage,PerStoragePendingIncrementalBR> to ibrManager : IncrementalBlockReportManager in class org.apache.hadoop.hdfs.server.datanode.BPServiceActor | From | To | |
Extract Method | 3 | ||
Extract Method private notifyNamenodeBlock(block ExtendedBlock, status BlockStatus, delHint String, storageUuid String) : void extracted from package notifyNamenodeReceivedBlock(block ExtendedBlock, delHint String, storageUuid String) : void in class org.apache.hadoop.hdfs.server.datanode.BPOfferService | From | To | |
Extract Method private notifyNamenodeBlock(block ExtendedBlock, status BlockStatus, delHint String, storageUuid String) : void extracted from package notifyNamenodeDeletedBlock(block ExtendedBlock, storageUuid String) : void in class org.apache.hadoop.hdfs.server.datanode.BPOfferService | From | To | |
Extract Method private notifyNamenodeBlock(block ExtendedBlock, status BlockStatus, delHint String, storageUuid String) : void extracted from package notifyNamenodeReceivingBlock(block ExtendedBlock, storageUuid String) : void in class org.apache.hadoop.hdfs.server.datanode.BPOfferService | From | To |