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


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

Branch: refs/heads/HADOOP-12756
Commit: 8e2614592ddbdb3a1067652bf9dc4a0929d7be16
Parents: 25f0a9b
Author: Varun Saxena <varunsax...@apache.org>
Authored: Tue Jul 26 20:49:06 2016 +0530
Committer: Varun Saxena <varunsax...@apache.org>
Committed: Tue Jul 26 20:49:06 2016 +0530

----------------------------------------------------------------------
 hadoop-yarn-project/hadoop-yarn/bin/yarn | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/8e261459/hadoop-yarn-project/hadoop-yarn/bin/yarn
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/bin/yarn 
b/hadoop-yarn-project/hadoop-yarn/bin/yarn
index dbbaed3..bd91633 100755
--- a/hadoop-yarn-project/hadoop-yarn/bin/yarn
+++ b/hadoop-yarn-project/hadoop-yarn/bin/yarn
@@ -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"


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

Reply via email to