|
Change Parameter Type b : Block to storedBlock : BlockInfo in method private chooseExcessReplicates(nonExcess Collection<DatanodeStorageInfo>, storedBlock BlockInfo, replication short, addedNode DatanodeDescriptor, delNodeHint DatanodeDescriptor, replicator BlockPlacementPolicy) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Parameter Type b : Block to storedBlock : BlockInfo in method package isNeededReplication(storedBlock BlockInfo, expected int, current int) : boolean in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Parameter Type block : Block to storedBlock : BlockInfo in method private addToExcessReplicate(dn DatanodeInfo, storedBlock BlockInfo) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Parameter Type block : Block to block : BlockInfo in method private addBlock(block BlockInfo, results List<BlockWithLocations>) : long in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Parameter Type block : Block to block : BlockInfo in method private processOverReplicatedBlock(block BlockInfo, replication short, addedNode DatanodeDescriptor, delNodeHint DatanodeDescriptor) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Parameter Type toRemove : Collection<Block> to toRemove : Collection<BlockInfo> in method private reportDiff(storageInfo DatanodeStorageInfo, newReport BlockListAsLongs, toAdd Collection<BlockInfoToAdd>, toRemove Collection<BlockInfo>, toInvalidate Collection<Block>, toCorrupt Collection<BlockToMarkCorrupt>, toUC Collection<StatefulBlockInfo>) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Parameter Type toAdd : Collection<BlockInfo> to toAdd : Collection<BlockInfoToAdd> in method private reportDiff(storageInfo DatanodeStorageInfo, newReport BlockListAsLongs, toAdd Collection<BlockInfoToAdd>, toRemove Collection<BlockInfo>, toInvalidate Collection<Block>, toCorrupt Collection<BlockToMarkCorrupt>, toUC Collection<StatefulBlockInfo>) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Parameter Type b : Block to storedBlock : BlockInfo in method private addToInvalidates(storedBlock BlockInfo) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Parameter Type block : Block to block : BlockInfo in method private getReplication(block BlockInfo) : int in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Parameter Type toAdd : Collection<BlockInfo> to toAdd : Collection<BlockInfoToAdd> in method 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 |
|
Change Parameter Type corrupted : BlockInfo to corrupted : Block in method package BlockToMarkCorrupt(corrupted Block, stored BlockInfo, reason String, reasonCode Reason) in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.BlockToMarkCorrupt |
From |
To |
|
Change Parameter Type b : Block to storedBlock : BlockInfo in method package blockHasEnoughRacks(storedBlock BlockInfo, expectedStorageNum int) : boolean in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Parameter Type block : Block to storedBlock : BlockInfo in method public removeStoredBlock(storedBlock BlockInfo, node DatanodeDescriptor) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Parameter Type b : Block to storedBlock : BlockInfo in method private processChosenExcessReplica(nonExcess Collection<DatanodeStorageInfo>, chosen DatanodeStorageInfo, storedBlock BlockInfo) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Parameterize Variable cur : DatanodeStorageInfo to chosen : DatanodeStorageInfo in method private processChosenExcessReplica(nonExcess Collection<DatanodeStorageInfo>, chosen DatanodeStorageInfo, storedBlock BlockInfo) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Parameterize Variable lastBlock : BlockInfo to block : BlockInfo in method public hasMinStorage(block BlockInfo, liveNum int) : boolean in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Parameterize Variable numLiveReplicas : int to liveNum : int in method public hasMinStorage(block BlockInfo, liveNum int) : boolean in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Parameterize Variable numCurrentReplica : int to liveNum : int in method public hasMinStorage(block BlockInfo, liveNum int) : boolean in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Parameterize Variable numExpectedReplicas : int to expectedStorageNum : int in method package blockHasEnoughRacks(storedBlock BlockInfo, expectedStorageNum int) : boolean in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type block : Block to block : BlockInfo in method package removeBlocksAssociatedTo(storageInfo DatanodeStorageInfo) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type b : BlockInfo to b : BlockInfoToAdd in method private processReport(storageInfo DatanodeStorageInfo, report BlockListAsLongs) : Collection<Block> in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type excessReplicas : LightWeightLinkedSet<Block> to excessReplicas : LightWeightLinkedSet<BlockInfo> in method private removeFromExcessReplicateMap(block Block) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type blocks : Collection<Block> to blocks : Collection<BlockInfo> in method public testNodeCount() : void in class org.apache.hadoop.hdfs.server.blockmanagement.TestNodeCount |
From |
To |
|
Change Variable Type excessBlocks : LightWeightLinkedSet<Block> to excessBlocks : LightWeightLinkedSet<BlockInfo> in method private addToExcessReplicate(dn DatanodeInfo, storedBlock BlockInfo) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type it : Iterator<? extends Block> to it : Iterator<BlockInfo> in method package removeBlocksAssociatedTo(node DatanodeDescriptor) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type b : Block to b : BlockInfo in method private processReport(storageInfo DatanodeStorageInfo, report BlockListAsLongs) : Collection<Block> in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type toAdd : Collection<BlockInfo> to toAdd : Collection<BlockInfoToAdd> in method private processAndHandleReportedBlock(storageInfo DatanodeStorageInfo, block Block, reportedState ReplicaState, delHintNode DatanodeDescriptor) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type blocksExcess : LightWeightLinkedSet<Block> to blocksExcess : LightWeightLinkedSet<BlockInfo> in method private collectBlocksSummary(parent String, file HdfsFileStatus, res Result, blocks LocatedBlocks) : void in class org.apache.hadoop.hdfs.server.namenode.NamenodeFsck |
From |
To |
|
Change Variable Type toRemove : Collection<Block> to toRemove : Collection<BlockInfo> in method private processReport(storageInfo DatanodeStorageInfo, report BlockListAsLongs) : Collection<Block> in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type it : Iterator<? extends Block> to it : Iterator<BlockInfo> in method package removeBlocksAssociatedTo(storageInfo DatanodeStorageInfo) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type toAdd : Collection<BlockInfo> to toAdd : Collection<BlockInfoToAdd> in method private processReport(storageInfo DatanodeStorageInfo, report BlockListAsLongs) : Collection<Block> in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type dnBlocks : Collection<Block> to dnBlocks : Collection<BlockInfo> in method public testChooseReplicaToDelete() : void in class org.apache.hadoop.hdfs.server.blockmanagement.TestOverReplicatedBlocks |
From |
To |
|
Change Variable Type excessBlocks : LightWeightLinkedSet<Block> to excessBlocks : LightWeightLinkedSet<BlockInfo> in method private processOverReplicatedBlock(block BlockInfo, replication short, addedNode DatanodeDescriptor, delNodeHint DatanodeDescriptor) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type blocksExcess : LightWeightLinkedSet<Block> to blocksExcess : LightWeightLinkedSet<BlockInfo> in method public countNodes(b BlockInfo) : NumberReplicas in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type b : BlockInfo to b : BlockInfoToAdd in method private processAndHandleReportedBlock(storageInfo DatanodeStorageInfo, block Block, reportedState ReplicaState, delHintNode DatanodeDescriptor) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type excessBlocks : LightWeightLinkedSet<Block> to excessBlocks : LightWeightLinkedSet<BlockInfo> in method package chooseSourceDatanode(block Block, containingNodes List<DatanodeDescriptor>, nodesContainingLiveReplicas List<DatanodeStorageInfo>, numReplicas NumberReplicas, priority int) : DatanodeDescriptor in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Change Variable Type excessBlocks : LightWeightLinkedSet<Block> to excessBlocks : LightWeightLinkedSet<BlockInfo> in method public removeStoredBlock(storedBlock BlockInfo, node DatanodeDescriptor) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Rename Parameter b : Block to storedBlock : BlockInfo in method private chooseExcessReplicates(nonExcess Collection<DatanodeStorageInfo>, storedBlock BlockInfo, replication short, addedNode DatanodeDescriptor, delNodeHint DatanodeDescriptor, replicator BlockPlacementPolicy) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Rename Parameter b : Block to storedBlock : BlockInfo in method private addToInvalidates(storedBlock BlockInfo) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Rename Parameter storedBlock : BlockInfo to block : BlockInfo in method public hasMinStorage(block BlockInfo, liveNum int) : boolean in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Rename Parameter b : Block to storedBlock : BlockInfo in method package isNeededReplication(storedBlock BlockInfo, expected int, current int) : boolean in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Rename Parameter block : Block to storedBlock : BlockInfo in method private addToExcessReplicate(dn DatanodeInfo, storedBlock BlockInfo) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Rename Parameter b : Block to storedBlock : BlockInfo in method package blockHasEnoughRacks(storedBlock BlockInfo, expectedStorageNum int) : boolean in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Rename Parameter block : Block to storedBlock : BlockInfo in method public removeStoredBlock(storedBlock BlockInfo, node DatanodeDescriptor) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |
|
Rename Parameter b : Block to storedBlock : BlockInfo in method private processChosenExcessReplica(nonExcess Collection<DatanodeStorageInfo>, chosen DatanodeStorageInfo, storedBlock BlockInfo) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager |
From |
To |