hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Govindassamy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10480) Add an admin command to list currently open files
Date Fri, 20 Jan 2017 22:17:26 GMT

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

Manoj Govindassamy commented on HDFS-10480:

[~shahrs87] / [~kihwal],

Thanks for working on this. Very useful. On top of review comments from [~andrew.wang], I
have few more thoughts. 
* There are cases where listing open files are needed only under a specific dir and not the
whole system.
* Java API to HdfsAdmin is also very useful for this feature. 
* It will be very useful to return/print the open files instead of dumping them onto a file.

* Testing could add more cases around multiple readers, file opened for append/truncates,
snapshots etc.,

If you are not working on this, can I take up this jira, implement the extra features, incorporate
all review comments and complete the testing ? Please let me know.

> 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: Bug
>            Reporter: Kihwal Lee
>            Assignee: Rushabh S Shah
>         Attachments: 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

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

View raw message