|
Change Parameter Type locsForExpectedStorageTypes : StorageTypeNodeMap to locsForExpectedStorageTypes : EnumMap<StorageType,List<DatanodeWithStorage.StorageDetails>> in method private chooseTarget(block LocatedBlock, source DatanodeInfo, targetTypes List<StorageType>, matcher Matcher, locsForExpectedStorageTypes EnumMap<StorageType,List<DatanodeWithStorage.StorageDetails>>, excludeNodes List<DatanodeInfo>) : StorageTypeNodePair in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Parameter Type liveDns : DatanodeStorageReport[] to liveDns : DatanodeMap in method private computeBlockMovingInfos(blockMovingInfos List<BlockMovingInfo>, blockInfo LocatedBlock, expectedStorageTypes List<StorageType>, existing List<StorageType>, storages DatanodeInfo[], liveDns DatanodeMap, ecPolicy ErasureCodingPolicy) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Parameter Type liveDns : DatanodeStorageReport[] to liveDns : DatanodeMap in method private checkSourceAndTargetTypeExists(dn DatanodeInfo, existingStorageTypes List<StorageType>, expectedStorageTypes List<StorageType>, liveDns DatanodeMap) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type nodesWithStorages : List<DatanodeInfo> to nodesWithStorages : List<DatanodeWithStorage.StorageDetails> in method private chooseTarget(block LocatedBlock, source DatanodeInfo, targetTypes List<StorageType>, matcher Matcher, locsForExpectedStorageTypes EnumMap<StorageType,List<DatanodeWithStorage.StorageDetails>>, excludeNodes List<DatanodeInfo>) : StorageTypeNodePair in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |
|
Change Variable Type locsForExpectedStorageTypes : StorageTypeNodeMap to targetDns : EnumMap<StorageType,List<DatanodeWithStorage.StorageDetails>> in method private computeBlockMovingInfos(blockMovingInfos List<BlockMovingInfo>, blockInfo LocatedBlock, expectedStorageTypes List<StorageType>, existing List<StorageType>, storages DatanodeInfo[], liveDns DatanodeMap, ecPolicy ErasureCodingPolicy) : boolean in class org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier |
From |
To |