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

Yiqun Lin commented on HDFS-10480:
----------------------------------

Thanks [~manojg] for the great work! Just some thoughts from me.

One case that mentioned above
{quote}
"which open files are blocking server decommissioning"
{quote}
I am thinking we can add a new option like {{-node}} to filter the open files 
which under these decommissioning nodes. This will help us find these files and 
then we can use command to revoke the lease and close the file. Also we can add 
the new option {{-path}} to list a part of files that under the given path and 
no need to list all the open files. I suppose these two additional options will 
make this command be more useful. If we are agreed on this, I can help make 
this improvement in another ticket.

> 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-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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to