diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs index ae8715d2d36..f3ddc762da4 100755 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs @@ -62,6 +62,7 @@ function hadoop_usage hadoop_add_subcommand "oiv" "apply the offline fsimage viewer to an fsimage" hadoop_add_subcommand "oiv_legacy" "apply the offline fsimage viewer to a legacy fsimage" hadoop_add_subcommand "oz" "command line interface for ozone" + hadoop_add_subcommand "oz_debug" "ozone debug tool, convert ozone meta data db into sqlite db" hadoop_add_subcommand "portmap" "run a portmap service" hadoop_add_subcommand "scm" "run the Storage Container Manager service" hadoop_add_subcommand "secondarynamenode" "run the DFS secondary namenode" @@ -207,6 +208,9 @@ function hdfscmd_case oz) HADOOP_CLASSNAME=org.apache.hadoop.ozone.web.ozShell.Shell ;; + oz_debug) + HADOOP_CLASSNAME=org.apache.hadoop.ozone.scm.cli.SQLCLI + ;; portmap) HADOOP_SUBCMD_SUPPORTDAEMONIZATION="true" HADOOP_CLASSNAME=org.apache.hadoop.portmap.Portmap