c304890c8c7782d835896859f5b7f60b96c306c0
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public nextStripedBlockId() : long renamed to package nextBlockId(isStriped boolean) : long in class org.apache.hadoop.hdfs.server.blockmanagement.BlockIdManager | From | To | |
Move Method | 3 | ||
Move Method public getBlocks(datanode DatanodeID, size long) : BlocksWithLocations from class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager to public getBlocks(datanode DatanodeID, size long) : BlocksWithLocations from class org.apache.hadoop.hdfs.server.namenode.FSNamesystem | From | To | |
Move Method public getBlockIdManager() : BlockIdManager from class org.apache.hadoop.hdfs.server.namenode.FSNamesystem to public getBlockIdManager() : BlockIdManager from class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
Move Method public isGenStampInFuture(block Block) : boolean from class org.apache.hadoop.hdfs.server.namenode.FSNamesystem to package isGenStampInFuture(block Block) : boolean from class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
Move Attribute | 1 | ||
Move Attribute private blockIdManager : BlockIdManager from class org.apache.hadoop.hdfs.server.namenode.FSNamesystem to private blockIdManager : BlockIdManager from class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
Extract Variable | 2 | ||
Extract Variable blockIdManager : BlockIdManager in method package save(newFile File, compression FSImageCompression) : void from class org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Saver | From | To | |
Extract Variable blockIdManager : BlockIdManager in method public load(curFile File) : void from class org.apache.hadoop.hdfs.server.namenode.FSImageFormat.Loader | From | To | |
Extract Method | 2 | ||
Extract Method package isGenStampInFuture(block Block) : boolean extracted from private processReportedBlock(storageInfo DatanodeStorageInfo, block Block, reportedState ReplicaState, toAdd Collection<BlockInfoToAdd>, toInvalidate Collection<Block>, toCorrupt Collection<BlockToMarkCorrupt>, toUC Collection<StatefulBlockInfo>) : BlockInfo in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
Extract Method package isGenStampInFuture(block Block) : boolean extracted from private removeStoredBlock(storageInfo DatanodeStorageInfo, block Block, node DatanodeDescriptor) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public nextBlockId(isStriped boolean) : long extracted from private nextBlockId(isStriped boolean) : long in class org.apache.hadoop.hdfs.server.namenode.FSNamesystem & moved to class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To |