Repository: hadoop Updated Branches: refs/heads/HDFS-7240 e269865a2 -> 6fb800fbe
HDFS-12179. Ozone: Corona: Adding corona as part of hdfs command. Contributed by Nandakumar. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/6fb800fb Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/6fb800fb Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/6fb800fb Branch: refs/heads/HDFS-7240 Commit: 6fb800fbe0604c31c02785fd188bdd7b55015572 Parents: e269865 Author: Weiwei Yang <[email protected]> Authored: Sat Jul 29 08:23:05 2017 +0800 Committer: Weiwei Yang <[email protected]> Committed: Sat Jul 29 08:23:05 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/6fb800fb/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 ca148b8..ae8715d 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 ;; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
