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 "Yiqun Lin (JIRA)" <ji...@apache.org> on 2017/05/29 03:29:05 UTC

[jira] [Comment Edited] (HDFS-11359) DFSAdmin report command supports displaying maintenance state datanodes

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

Yiqun Lin edited comment on HDFS-11359 at 5/29/17 3:28 AM:
-----------------------------------------------------------

Thanks [~manojg] for the review!
bq. The state transition for the DataNode is not controlled. The test first checks for Entering_Maintenance and then In_Imaintenance on best efforts....
It's a good catch. I agree on that there is a chance that state can might miss seeing the Entering Maintenance state in the current test. Your suggestion can solve this problem. And other two comments also make sense to me.
Attach the new patch to address the comments. Kindly take a look.
Thanks.


was (Author: linyiqun):
Thanks [~manojg] for the review!
bg. The state transition for the DataNode is not controlled. The test first checks for Entering_Maintenance and then In_Imaintenance on best efforts....
It's a good catch. I agree on that there is a chance that state can might miss seeing the Entering Maintenance state in the current test. Your suggestion can solve this problem. And other two comments also make sense to me.
Attach the new patch to address the comments. Kindly take a look.
Thanks.

> DFSAdmin report command supports displaying maintenance state datanodes
> -----------------------------------------------------------------------
>
>                 Key: HDFS-11359
>                 URL: https://issues.apache.org/jira/browse/HDFS-11359
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>            Priority: Minor
>         Attachments: HDFS-11359.001.patch, HDFS-11359.002.patch, HDFS-11359.003.patch, HDFS-11359.005.patch
>
>
> The datanode's maintenance state info can be showed in webUI/JMX. But it can't be displayed via CLI. This JIRA will improve on this.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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