|
Change Parameter Type moreThanOne : List<DatanodeStorageInfo> to moreThanOne : List<T> in method public splitNodesWithRack(storagesOrDataNodes Iterable<T>, rackMap Map<String,List<T>>, moreThanOne List<T>, exactlyOne List<T>) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy |
From |
To |
|
Change Parameter Type exactlyOne : List<DatanodeStorageInfo> to exactlyOne : List<T> in method public splitNodesWithRack(storagesOrDataNodes Iterable<T>, rackMap Map<String,List<T>>, moreThanOne List<T>, exactlyOne List<T>) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy |
From |
To |
|
Change Parameter Type rackMap : Map<String,List<DatanodeStorageInfo>> to rackMap : Map<String,List<T>> in method public splitNodesWithRack(storagesOrDataNodes Iterable<T>, rackMap Map<String,List<T>>, moreThanOne List<T>, exactlyOne List<T>) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy |
From |
To |
|
Change Parameter Type storages : Iterable<DatanodeStorageInfo> to storagesOrDataNodes : Iterable<T> in method public splitNodesWithRack(storagesOrDataNodes Iterable<T>, rackMap Map<String,List<T>>, moreThanOne List<T>, exactlyOne List<T>) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy |
From |
To |
|
Change Parameter Type storageInfos : DatanodeStorageInfo[] to storagesOrDataNodes : Collection<T> in method private getUpgradeDomainMap(storagesOrDataNodes Collection<T>) : Map<String,List<T>> in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyWithUpgradeDomain |
From |
To |
|
Change Variable Type upgradeDomainMap : Map<String,List<DatanodeStorageInfo>> to upgradeDomainMap : Map<String,List<T>> in method private getUpgradeDomainMap(storagesOrDataNodes Collection<T>) : Map<String,List<T>> in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyWithUpgradeDomain |
From |
To |
|
Change Variable Type storage : DatanodeStorageInfo to storage : T in method private getUpgradeDomainMap(storagesOrDataNodes Collection<T>) : Map<String,List<T>> in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyWithUpgradeDomain |
From |
To |
|
Change Variable Type s : DatanodeStorageInfo to s : T in method public splitNodesWithRack(storagesOrDataNodes Iterable<T>, rackMap Map<String,List<T>>, moreThanOne List<T>, exactlyOne List<T>) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy |
From |
To |
|
Change Variable Type storages : List<DatanodeStorageInfo> to storages : List<T> in method private getUpgradeDomainMap(storagesOrDataNodes Collection<T>) : Map<String,List<T>> in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyWithUpgradeDomain |
From |
To |
|
Change Variable Type storageList : List<DatanodeStorageInfo> to storageList : List<T> in method public splitNodesWithRack(storagesOrDataNodes Iterable<T>, rackMap Map<String,List<T>>, moreThanOne List<T>, exactlyOne List<T>) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy |
From |
To |
|
Rename Parameter storages : Iterable<DatanodeStorageInfo> to storagesOrDataNodes : Iterable<T> in method public splitNodesWithRack(storagesOrDataNodes Iterable<T>, rackMap Map<String,List<T>>, moreThanOne List<T>, exactlyOne List<T>) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy |
From |
To |
|
Rename Parameter storageInfos : DatanodeStorageInfo[] to storagesOrDataNodes : Collection<T> in method private getUpgradeDomainMap(storagesOrDataNodes Collection<T>) : Map<String,List<T>> in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyWithUpgradeDomain |
From |
To |
|
Rename Parameter moreThanone : Collection<DatanodeStorageInfo> to moreThanOne : Collection<DatanodeStorageInfo> in method public chooseReplicaToDelete(moreThanOne Collection<DatanodeStorageInfo>, exactlyOne Collection<DatanodeStorageInfo>, excessTypes List<StorageType>) : DatanodeStorageInfo in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault |
From |
To |