YARN-5431. TimelineReader daemon start should allow to pass its own reader opts (Rohith Sharma K S via Varun Saxena)

This commit is contained in:
Varun Saxena 2016-07-26 20:49:06 +05:30
parent 25f0a9b3ab
commit 8e2614592d

View File

@ -175,6 +175,8 @@ function yarncmd_case
timelinereader)
HADOOP_SUBCMD_SUPPORTDAEMONIZATION="true"
HADOOP_CLASSNAME='org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderServer'
hadoop_debug "Append YARN_TIMELINEREADER_OPTS onto HADOOP_OPTS"
HADOOP_OPTS="${HADOOP_OPTS} ${YARN_TIMELINEREADER_OPTS}"
;;
timelineserver)
HADOOP_SUBCMD_SUPPORTDAEMONIZATION="true"