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

Yongjun Zhang commented on HDFS-6917:
-------------------------------------

I did not see Allen's latest comment when I made my previous. Maybe we should 
make the "recoverLease" command a privileged one only accessible by admin?


> Add an hdfs debug command to validate blocks, call recoverlease, etc.
> ---------------------------------------------------------------------
>
>                 Key: HDFS-6917
>                 URL: https://issues.apache.org/jira/browse/HDFS-6917
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.6.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HDFS-6917.001.patch
>
>
> HDFS should have a debug command which could validate HDFS block files, call 
> recoverLease, and have some other functionality.  These commands would be 
> purely for debugging and would appear under a separate command hierarchy 
> inside the hdfs command.  There would be no guarantee of API stability for 
> these commands and the debug submenu would not be listed by just typing the 
> "hdfs" command.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to