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 "Xiao Chen (JIRA)" <ji...@apache.org> on 2018/01/02 22:23:00 UTC

[jira] [Commented] (HDFS-11847) Enhance dfsadmin listOpenFiles command to list files blocking datanode decommissioning

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

Xiao Chen commented on HDFS-11847:
----------------------------------

Thanks [~manojg]! Happy to see that we prepared things pretty well for HDFS-12969.

+1 to patch 05 pending 2 tiny things (and the checkstyle) that I'm okay if you fix at commit time:

- {{DatanodeDescriptor#getOpenFiles}} javadoc should say "@return the collection of under-replicated blocks in open files", not "the number of"
- {{DFSClient#listOpenFiles}} javadoc @param goes before @throws.

> Enhance dfsadmin listOpenFiles command to list files blocking datanode decommissioning
> --------------------------------------------------------------------------------------
>
>                 Key: HDFS-11847
>                 URL: https://issues.apache.org/jira/browse/HDFS-11847
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Manoj Govindassamy
>            Assignee: Manoj Govindassamy
>         Attachments: HDFS-11847.01.patch, HDFS-11847.02.patch, HDFS-11847.03.patch, HDFS-11847.04.patch, HDFS-11847.05.patch
>
>
> HDFS-10480 adds {{listOpenFiles}} option is to {{dfsadmin}} command to list all the open files in the system.
> Additionally, it would be very useful to only list open files that are blocking the DataNode decommissioning. With thousand+ node clusters, where there might be machines added and removed regularly for maintenance, any option to monitor and debug decommissioning status is very helpful. Proposal here is to add suboptions to {{listOpenFiles}} for the above case.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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