diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs index ca148b8aa7d..ae8715d2d36 100755 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs @@ -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 ;;