HDFS-12179. Ozone: Corona: Adding corona as part of hdfs command. Contributed by Nandakumar.

This commit is contained in:
Weiwei Yang 2017-07-29 08:23:05 +08:00
parent e269865a2b
commit 6fb800fbe0
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,7 @@ function hadoop_usage
hadoop_add_subcommand "cblock" "cblock CLI"
hadoop_add_subcommand "cblockserver" "run cblock server"
hadoop_add_subcommand "classpath" "prints the class path needed to get the hadoop jar and the required libraries"
hadoop_add_subcommand "corona" "run an ozone data generator"
hadoop_add_subcommand "crypto" "configure HDFS encryption zones"
hadoop_add_subcommand "datanode" "run a DFS datanode"
hadoop_add_subcommand "debug" "run a Debug Admin to execute HDFS debug commands"
@ -102,6 +103,9 @@ function hdfscmd_case
classpath)
hadoop_do_classpath_subcommand HADOOP_CLASSNAME "$@"
;;
corona)
HADOOP_CLASSNAME=org.apache.hadoop.ozone.Corona
;;
crypto)
HADOOP_CLASSNAME=org.apache.hadoop.hdfs.tools.CryptoAdmin
;;