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

This commit is contained in:
Anu Engineer 2017-02-02 15:45:06 -08:00
parent ffe937a1f2
commit 124ffbd55d
1 changed files with 5 additions and 2 deletions

View File

@ -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}"
;;