[ https://issues.apache.org/jira/browse/HDFS-4989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Junping Du updated HDFS-4989: ----------------------------- Description: Balancer needs to balance with in a storage tier. A couple of works: - add an option of storageType in balancer CLI to balance data on a specific storage type. - add storageType to BalancingPolicy - need new API (getDatanodeReport(StorageType) peer with getDatanodeReport() before) in ClientProtocol to get storage related info from NN so that balancer can choose storages as <source, target> balancing pair. - update chooseDatanodes() algorithm to choose storages on the same DN first in setting up <under-utilization, over-load> pairs. was:Balancer needs to balance with in a storage tier. Also needs an option to balance only a specific storage type. > Balancer needs to consider storage type in balancing > ---------------------------------------------------- > > Key: HDFS-4989 > URL: https://issues.apache.org/jira/browse/HDFS-4989 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer, datanode, namenode > Reporter: Suresh Srinivas > Assignee: Junping Du > > Balancer needs to balance with in a storage tier. A couple of works: > - add an option of storageType in balancer CLI to balance data on a specific > storage type. > - add storageType to BalancingPolicy > - need new API (getDatanodeReport(StorageType) peer with getDatanodeReport() > before) in ClientProtocol to get storage related info from NN so that > balancer can choose storages as <source, target> balancing pair. > - update chooseDatanodes() algorithm to choose storages on the same DN first > in setting up <under-utilization, over-load> pairs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira