You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by xy...@apache.org on 2017/08/06 15:08:47 UTC

hadoop git commit: HDFS-12266. Ozone : add debug cli to hdfs script. Contributed by Chen Liang.

Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 5ffb2508e -> b153dbb9b


HDFS-12266. Ozone : add debug cli to hdfs script. Contributed by Chen Liang.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b153dbb9
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b153dbb9
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b153dbb9

Branch: refs/heads/HDFS-7240
Commit: b153dbb9b0647c090df5301e5574996cd6441a15
Parents: 5ffb250
Author: Xiaoyu Yao <xy...@apache.org>
Authored: Sun Aug 6 08:08:37 2017 -0700
Committer: Xiaoyu Yao <xy...@apache.org>
Committed: Sun Aug 6 08:08:37 2017 -0700

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/b153dbb9/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
index ae8715d..f3ddc76 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


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org