745d04be59accf80feda0ad38efcc74ba362f2ca
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 26
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type block : Block to block : BlockInfo in method private logBlockReplicationInfo(block BlockInfo, bc BlockCollection, srcNode DatanodeDescriptor, num NumberReplicas, storages Iterable<DatanodeStorageInfo>) : void in class org.apache.hadoop.hdfs.server.blockmanagement.DecommissionManager | From | To | |
Change Parameter Type b : Block to b : BlockInfo in method package blockHasEnoughRacks(b BlockInfo) : boolean in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
Rename Variable | 1 | ||
Rename Variable oldFileSizeNoRep : long to blockSize : long in method public updateQuotaAndCollectBlocks(reclaimContext INode.ReclaimContext, file INodeFile, removed FileDiff) : void in class org.apache.hadoop.hdfs.server.namenode.snapshot.FileWithSnapshotFeature | From | To | |
Inline Method | 1 | ||
Inline Method private updateBlockCollection() : void inlined to package concatBlocks(inodes INodeFile[], bm BlockManager) : void in class org.apache.hadoop.hdfs.server.namenode.INodeFile | From | To | |
Extract Variable | 2 | ||
Extract Variable bm : BlockManager in method private loadFileDiffList(in InputStream, file INodeFile, size int) : void from class org.apache.hadoop.hdfs.server.namenode.snapshot.FSImageFormatPBSnapshot.Loader | From | To | |
Extract Variable fsn : FSNamesystem in method package delete(fsd FSDirectory, iip INodesInPath, collectedBlocks BlocksMapUpdateInfo, removedINodes List<INode>, removedUCFiles List<Long>, mtime long) : long from class org.apache.hadoop.hdfs.server.namenode.FSDirDeleteOp | From | To |