From 6fb800fbe0604c31c02785fd188bdd7b55015572 Mon Sep 17 00:00:00 2001 From: Weiwei Yang Date: Sat, 29 Jul 2017 08:23:05 +0800 Subject: [PATCH] HDFS-12179. Ozone: Corona: Adding corona as part of hdfs command. Contributed by Nandakumar. --- hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs | 4 ++++ 1 file changed, 4 insertions(+) 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 ;;