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

Kihwal Lee commented on HDFS-11941:
-----------------------------------

{{recoverLease}} is not necessarily an admin command. It can be used by any 
(power) user. 

bq. triggerBlockReport: similar to recoverLease in debugadmin, you don't need 
this unless HDFS is in a bad state
Not true. E.g. We sometimes use it when we don't want to wait for the random 
initial FBR delay after a DN restart.  Some management automation scripts 
incorporate this command.

> Move dfsadmin triggerBlockReport and metaSave to debugadmin
> -----------------------------------------------------------
>
>                 Key: HDFS-11941
>                 URL: https://issues.apache.org/jira/browse/HDFS-11941
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.9.0, 3.0.0-alpha4
>            Reporter: Andrew Wang
>
> Filing a JIRA for discussion. While reviewing the [dfsadmin 
> commands|https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HDFSCommands.html#dfsadmin]
>  some of them seem better suited for debugadmin:
> * triggerBlockReport: similar to recoverLease in debugadmin, you don't need 
> this unless HDFS is in a bad state
> * metasave: dumps NN datastructures to a side file. Seems purely for 
> debugging.
> DebugAdmin commands notably do not need to be compatible between releases and 
> do not have Java API equivalents in HdfsAdmin.



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