Xiaoyu Yao created HDFS-8536:
--------------------------------

             Summary: HDFS debug command is missed from top level help message
                 Key: HDFS-8536
                 URL: https://issues.apache.org/jira/browse/HDFS-8536
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: tools
    Affects Versions: 2.7.0
            Reporter: Xiaoyu Yao
            Assignee: Xiaoyu Yao
            Priority: Minor


HDFS top level help message missed debug command. This JIRA is opened to add it 
to hdfs top level command help. 

{code}
HW11217:hadoop xyao$ hdfs
Usage: hdfs [--config confdir] [--daemon (start|stop|status)]
           [--loglevel loglevel] COMMAND
       where COMMAND is one of:
  balancer             run a cluster balancing utility
  cacheadmin           configure the HDFS cache
  classpath            prints the class path needed to get the
                       Hadoop jar and the required libraries
  crypto               configure HDFS encryption zones
  datanode             run a DFS datanode
  dfs                  run a filesystem command on the file system
  dfsadmin             run a DFS admin client
  fetchdt              fetch a delegation token from the NameNode
  fsck                 run a DFS filesystem checking utility
  getconf              get config values from configuration
  groups               get the groups which users belong to
  haadmin              run a DFS HA admin client
  jmxget               get JMX exported values from NameNode or DataNode.
  journalnode          run the DFS journalnode
  lsSnapshottableDir   list all snapshottable dirs owned by the current user
                               Use -help to see options
  mover                run a utility to move block replicas across
                       storage types
  namenode             run the DFS namenode
                               Use -format to initialize the DFS filesystem
  nfs3                 run an NFS version 3 gateway
  oev                  apply the offline edits viewer to an edits file
  oiv                  apply the offline fsimage viewer to an fsimage
  oiv_legacy           apply the offline fsimage viewer to a legacy fsimage
  portmap              run a portmap service
  secondarynamenode    run the DFS secondary namenode
  snapshotDiff         diff two snapshots of a directory or diff the
                       current directory contents with a snapshot
  storagepolicies      list/get/set block storage policies
  version              print the version
  zkfc                 run the ZK Failover Controller daemon

Most commands print help when invoked w/o parameters.
{code}

{code}

HW11217:hadoop xyao$ hdfs debug
Usage: hdfs debug <command> [arguments]

verify [-meta <metadata-file>] [-block <block-file>]
recoverLease [-path <path>] [-retries <num-retries>]

{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to