[ https://issues.apache.org/jira/browse/HDFS-4989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13773982#comment-13773982 ]
Junping Du commented on HDFS-4989: ---------------------------------- This jira need to add an API of getDatanodeStorageReport(StorageType) in clientprotocol for balancer to get each DN's storage info (capacity, dfsUsed, etc.). As a return of this API, shall we use DatanodeStorageInfo[] so that we move it from o.a.h.hdfs.server.blockmanagement to o.a.h.hdfs.protocol or we can create something simpler to have only necessary info (without blockList, etc.). I prefer the latter one, what do you think? > 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. Also needs an option to > balance only a specific storage type. -- 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