Просмотр исходного кода

Revert "HDFS-11836. Ozone : add sql debug CLI to hdfs script. Contributed by Chen Liang." due to duplicate of HDFS-12266

This reverts commit ac2d21900713082172964a50af3a94fb0d73c437.
Chen Liang 8 лет назад
Родитель
Сommit
c25d95963d
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs

+ 0 - 4
hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs

@@ -67,7 +67,6 @@ 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"
@@ -233,9 +232,6 @@ 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
     ;;