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 ww...@apache.org on 2017/05/18 03:10:09 UTC

hadoop git commit: HDFS-11836. Ozone : add sql debug CLI to hdfs script. Contributed by Chen Liang.

Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 7dbe89d01 -> ac2d21900


HDFS-11836. Ozone : add sql 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/ac2d2190
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ac2d2190
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ac2d2190

Branch: refs/heads/HDFS-7240
Commit: ac2d21900713082172964a50af3a94fb0d73c437
Parents: 7dbe89d
Author: Weiwei Yang <ww...@apache.org>
Authored: Thu May 18 11:09:31 2017 +0800
Committer: Weiwei Yang <ww...@apache.org>
Committed: Thu May 18 11:09:31 2017 +0800

----------------------------------------------------------------------
 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/ac2d2190/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 8ce29de..ca148b8 100755
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
@@ -65,6 +65,7 @@ function hadoop_usage
   hadoop_add_subcommand "scm" "run the Storage Container Manager service"
   hadoop_add_subcommand "secondarynamenode" "run the DFS secondary namenode"
   hadoop_add_subcommand "snapshotDiff" "diff two snapshots of a directory or diff the current directory contents with a snapshot"
+  hadoop_add_subcommnad "sqlconvert" "convert ozone leveldb files into sqlite db file for debug purpose"
   hadoop_add_subcommand "storagepolicies" "list/get/set block storage policies"
   hadoop_add_subcommand "version" "print the version"
   hadoop_add_subcommand "zkfc" "run the ZK Failover Controller daemon"
@@ -224,6 +225,9 @@ function hdfscmd_case
     snapshotDiff)
       HADOOP_CLASSNAME=org.apache.hadoop.hdfs.tools.snapshot.SnapshotDiff
     ;;
+    sqlconvert)
+      HADOOP_CLASSNAME=org.apache.hadoop.ozone.scm.cli.SQLCLI
+    ;;
     storagepolicies)
       HADOOP_CLASSNAME=org.apache.hadoop.hdfs.tools.StoragePolicyAdmin
     ;;


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