|
Change Parameter Type dn : DatanodeDescriptor to dn : DatanodeInfo in method private add(t StorageType, dn DatanodeInfo) : void in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier.StorageTypeNodeMap |
From |
To |
|
Change Parameter Type blockInfo : BlockInfo to blockInfo : LocatedBlock in method private computeBlockMovingInfos(blockMovingInfos List<BlockMovingInfo>, blockInfo LocatedBlock, expectedStorageTypes List<StorageType>, existing List<StorageType>, storages DatanodeInfo[], liveDns DatanodeStorageReport[], ecPolicy ErasureCodingPolicy) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Parameter Type blockInfo : BlockInfo to blockInfo : LocatedBlock in method private buildContinuousBlockMovingInfos(blockInfo LocatedBlock, sourceNode DatanodeInfo, sourceStorageType StorageType, targetNode DatanodeInfo, targetStorageType StorageType, blkMovingInfos List<BlockMovingInfo>) : void in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Parameter Type dn : DatanodeDescriptor to dn : DatanodeInfo in method package StorageTypeNodePair(storageType StorageType, dn DatanodeInfo) in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier.StorageTypeNodePair |
From |
To |
|
Change Parameter Type excludeNodes : List<DatanodeDescriptor> to excludeNodes : List<DatanodeInfo> in method private chooseTarget(block LocatedBlock, source DatanodeInfo, targetTypes List<StorageType>, matcher Matcher, locsForExpectedStorageTypes StorageTypeNodeMap, excludeNodes List<DatanodeInfo>) : StorageTypeNodePair in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Parameter Type storages : DatanodeStorageInfo[] to storages : DatanodeInfo[] in method private computeBlockMovingInfos(blockMovingInfos List<BlockMovingInfo>, blockInfo LocatedBlock, expectedStorageTypes List<StorageType>, existing List<StorageType>, storages DatanodeInfo[], liveDns DatanodeStorageReport[], ecPolicy ErasureCodingPolicy) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Parameter Type dn : DatanodeDescriptor to dn : DatanodeInfo in method private checkIfAlreadyChosen(blockMovingInfos List<BlockMovingInfo>, dn DatanodeInfo) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Parameter Type dn : DatanodeDescriptor to dn : DatanodeInfo in method private checkSourceAndTargetTypeExists(dn DatanodeInfo, existing List<StorageType>, expectedStorageTypes List<StorageType>, liveDns DatanodeStorageReport[]) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Parameter Type blockInfo : BlockInfo to blockInfo : LocatedBlock in method private findSourceAndTargetToMove(blockMovingInfos List<BlockMovingInfo>, blockInfo LocatedBlock, sourceWithStorageList List<StorageTypeNodePair>, expected List<StorageType>, locsForExpectedStorageTypes StorageTypeNodeMap, ecPolicy ErasureCodingPolicy) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Parameter Type source : DatanodeDescriptor to source : DatanodeInfo in method private chooseTarget(block LocatedBlock, source DatanodeInfo, targetTypes List<StorageType>, matcher Matcher, locsForExpectedStorageTypes StorageTypeNodeMap, excludeNodes List<DatanodeInfo>) : StorageTypeNodePair in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Parameter Type block : Block to block : LocatedBlock in method private chooseTarget(block LocatedBlock, source DatanodeInfo, targetTypes List<StorageType>, matcher Matcher, locsForExpectedStorageTypes StorageTypeNodeMap, excludeNodes List<DatanodeInfo>) : StorageTypeNodePair in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Rename Variable dnInfo : DatanodeStorageInfo to eachStorage : StorageReport in method private checkSourceAndTargetTypeExists(dn DatanodeInfo, existing List<StorageType>, expectedStorageTypes List<StorageType>, liveDns DatanodeStorageReport[]) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Rename Variable datanodeStorageInfo : DatanodeStorageInfo to dnStorageInfo : DatanodeInfoWithStorage in method private computeBlockMovingInfos(blockMovingInfos List<BlockMovingInfo>, blockInfo LocatedBlock, expectedStorageTypes List<StorageType>, existing List<StorageType>, storages DatanodeInfo[], liveDns DatanodeStorageReport[], ecPolicy ErasureCodingPolicy) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Rename Variable blockCollection : BlockCollection to existingStoragePolicy : BlockStoragePolicy in method public run() : void in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Rename Variable datanodeStorageInfo : DatanodeStorageInfo to dnInfo : DatanodeInfoWithStorage in method private computeBlockMovingInfos(blockMovingInfos List<BlockMovingInfo>, blockInfo LocatedBlock, expectedStorageTypes List<StorageType>, existing List<StorageType>, storages DatanodeInfo[], liveDns DatanodeStorageReport[], ecPolicy ErasureCodingPolicy) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Rename Variable allDNStorageInfos : DatanodeStorageInfo[] to storageReports : StorageReport[] in method private checkSourceAndTargetTypeExists(dn DatanodeInfo, existing List<StorageType>, expectedStorageTypes List<StorageType>, liveDns DatanodeStorageReport[]) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type nodesWithStorages : List<DatanodeDescriptor> to nodesWithStorages : List<DatanodeInfo> in method private chooseTarget(block LocatedBlock, source DatanodeInfo, targetTypes List<StorageType>, matcher Matcher, locsForExpectedStorageTypes StorageTypeNodeMap, excludeNodes List<DatanodeInfo>) : StorageTypeNodePair in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type excludeNodes : List<DatanodeDescriptor> to excludeNodes : List<DatanodeInfo> in method private findSourceAndTargetToMove(blockMovingInfos List<BlockMovingInfo>, blockInfo LocatedBlock, sourceWithStorageList List<StorageTypeNodePair>, expected List<StorageType>, locsForExpectedStorageTypes StorageTypeNodeMap, ecPolicy ErasureCodingPolicy) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type reports : List<DatanodeDescriptor> to liveDns : DatanodeStorageReport[] in method private findTargetsForExpectedStorageTypes(expected List<StorageType>, liveDns DatanodeStorageReport[]) : StorageTypeNodeMap in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type dnInfo : DatanodeStorageInfo to eachStorage : StorageReport in method private checkSourceAndTargetTypeExists(dn DatanodeInfo, existing List<StorageType>, expectedStorageTypes List<StorageType>, liveDns DatanodeStorageReport[]) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type datanodeStorageInfo : DatanodeStorageInfo to dnStorageInfo : DatanodeInfoWithStorage in method private computeBlockMovingInfos(blockMovingInfos List<BlockMovingInfo>, blockInfo LocatedBlock, expectedStorageTypes List<StorageType>, existing List<StorageType>, storages DatanodeInfo[], liveDns DatanodeStorageReport[], ecPolicy ErasureCodingPolicy) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type datanodeStorageInfo : DatanodeStorageInfo to dnInfo : DatanodeInfoWithStorage in method private computeBlockMovingInfos(blockMovingInfos List<BlockMovingInfo>, blockInfo LocatedBlock, expectedStorageTypes List<StorageType>, existing List<StorageType>, storages DatanodeInfo[], liveDns DatanodeStorageReport[], ecPolicy ErasureCodingPolicy) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type existingBlockStorages : List<DatanodeStorageInfo> to existingBlockStorages : List<DatanodeInfo> in method private computeBlockMovingInfos(blockMovingInfos List<BlockMovingInfo>, blockInfo LocatedBlock, expectedStorageTypes List<StorageType>, existing List<StorageType>, storages DatanodeInfo[], liveDns DatanodeStorageReport[], ecPolicy ErasureCodingPolicy) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type target : DatanodeDescriptor to target : DatanodeInfo in method private chooseTarget(block LocatedBlock, source DatanodeInfo, targetTypes List<StorageType>, matcher Matcher, locsForExpectedStorageTypes StorageTypeNodeMap, excludeNodes List<DatanodeInfo>) : StorageTypeNodePair in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type blockCollection : BlockCollection to existingStoragePolicy : BlockStoragePolicy in method public run() : void in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type nodesWithStorages : List<DatanodeDescriptor> to nodesWithStorages : List<DatanodeInfo> in method private add(t StorageType, dn DatanodeInfo) : void in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier.StorageTypeNodeMap |
From |
To |
|
Change Variable Type dn : DatanodeDescriptor to dn : DatanodeStorageReport in method private findTargetsForExpectedStorageTypes(expected List<StorageType>, liveDns DatanodeStorageReport[]) : StorageTypeNodeMap in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type allDNStorageInfos : DatanodeStorageInfo[] to storageReports : StorageReport[] in method private checkSourceAndTargetTypeExists(dn DatanodeInfo, existing List<StorageType>, expectedStorageTypes List<StorageType>, liveDns DatanodeStorageReport[]) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type iterator : Iterator<DatanodeStorageInfo> to iterator : Iterator<DatanodeInfo> in method private computeBlockMovingInfos(blockMovingInfos List<BlockMovingInfo>, blockInfo LocatedBlock, expectedStorageTypes List<StorageType>, existing List<StorageType>, storages DatanodeInfo[], liveDns DatanodeStorageReport[], ecPolicy ErasureCodingPolicy) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type value : LinkedList<DatanodeDescriptor> to value : LinkedList<DatanodeInfo> in method private add(t StorageType, dn DatanodeInfo) : void in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier.StorageTypeNodeMap |
From |
To |