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 "Andrew Wang (JIRA)" <ji...@apache.org> on 2017/06/07 07:14:18 UTC

[jira] [Commented] (HDFS-10480) Add an admin command to list currently open files

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

Andrew Wang commented on HDFS-10480:
------------------------------------

Thanks for working on this Manoj. LGTM overall, a few nits:

* DFSAdmin, I'd prefer that we don't print a special message when there aren't any open files. Just print the header with no entries.
* DFSAdmin help text needs an additional linebreak and tab to wrap the long line in the output
* Thinking about it a little more, we can remove the HdfsAdmin API and make the CLI the only public API. A number of DFSAdmin commands don't have corresponding HdfsAdmin APIs (e.g. evictWriters, triggerBlockReport). We can always add the Java API later if there's demand.

> Add an admin command to list currently open files
> -------------------------------------------------
>
>                 Key: HDFS-10480
>                 URL: https://issues.apache.org/jira/browse/HDFS-10480
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kihwal Lee
>            Assignee: Manoj Govindassamy
>         Attachments: HDFS-10480.02.patch, HDFS-10480.03.patch, HDFS-10480.04.patch, HDFS-10480.05.patch, HDFS-10480.06.patch, HDFS-10480-trunk-1.patch, HDFS-10480-trunk.patch
>
>
> Currently there is no easy way to obtain the list of active leases or files being written. It will be nice if we have an admin command to list open files and their lease holders.



--
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