You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ae...@apache.org on 2017/02/02 23:48:46 UTC

hadoop git commit: HDFS-11386. Ozone: fix the missing entries in hdfs script. Contributed by Chen Liang.

Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 ffe937a1f -> 124ffbd55


HDFS-11386. Ozone: fix the missing entries in hdfs script. Contributed by Chen Liang.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/124ffbd5
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/124ffbd5
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/124ffbd5

Branch: refs/heads/HDFS-7240
Commit: 124ffbd55df701f65e96a9f341b1da5ec8f8aa40
Parents: ffe937a
Author: Anu Engineer <ae...@apache.org>
Authored: Thu Feb 2 15:45:06 2017 -0800
Committer: Anu Engineer <ae...@apache.org>
Committed: Thu Feb 2 15:45:06 2017 -0800

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/124ffbd5/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 c579e50..7e5d344 100755
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
@@ -192,13 +192,16 @@ function hdfscmd_case
     oiv_legacy)
       HADOOP_CLASSNAME=org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer
     ;;
+    oz)
+      HADOOP_CLASSNAME=org.apache.hadoop.ozone.web.ozShell.Shell
+    ;;
     portmap)
       HADOOP_SUBCMD_SUPPORTDAEMONIZATION="true"
       HADOOP_CLASSNAME=org.apache.hadoop.portmap.Portmap
     ;;
     scm)
-      supportdaemonization="true"
-      CLASS='org.apache.hadoop.ozone.storage.StorageContainerManager'
+      HADOOP_SUBCMD_SUPPORTDAEMONIZATION="true"
+      HADOOP_CLASSNAME='org.apache.hadoop.ozone.storage.StorageContainerManager'
       hadoop_debug "Appending HADOOP_SCM_OPTS onto HADOOP_OPTS"
       HADOOP_OPTS="${HADOOP_OPTS} ${HADOOP_SCM_OPTS}"
     ;;    


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org