[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to