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

Allen Wittenauer commented on HDFS-6917:
----------------------------------------

Is there any real benefit in hiding the debug option from usage?  If you don't 
want users to find it easily, probably better to not have it in the hdfs script 
at all and only call it via the full class.  (There are lots of these in Hadoop 
already).

> 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