You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Anu Engineer (JIRA)" <ji...@apache.org> on 2016/08/15 21:44:20 UTC

[jira] [Commented] (HDFS-10514) Augment QueryDiskBalancerPlan to return storage id/type of source/dest volumes

    [ https://issues.apache.org/jira/browse/HDFS-10514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15421730#comment-15421730 ] 

Anu Engineer commented on HDFS-10514:
-------------------------------------

[~xiaobingo] Thanks for the patch. Some minor comments.

# Don't we need to populate the workMap with the right entries for the {{DiskBalancer#queryWorkStatus}} to read it back. I am wondering if we should populate these new entries in {{DiskBalancer#createWorkPlan}}. I was not able to understand where we are populating the values for the new entries in the DiskBalancerWorkStatus class.
# Can you please modify a test to assert that these values are indeed populated in this class.


> Augment QueryDiskBalancerPlan to return storage id/type of source/dest volumes
> ------------------------------------------------------------------------------
>
>                 Key: HDFS-10514
>                 URL: https://issues.apache.org/jira/browse/HDFS-10514
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>         Attachments: HDFS-10514-HDFS-1312.000.patch, HDFS-10514-HDFS-1312.001.patch
>
>
> DiskBalancerWorkEntry returned by QueryDiskBalancerPlan only contains paths of source/dest volumes. It's preferable to get storage id/storage type too. Scan command could show a rich set of information how data is moved between different volumes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org