From 8e2614592ddbdb3a1067652bf9dc4a0929d7be16 Mon Sep 17 00:00:00 2001 From: Varun Saxena Date: Tue, 26 Jul 2016 20:49:06 +0530 Subject: [PATCH] YARN-5431. TimelineReader daemon start should allow to pass its own reader opts (Rohith Sharma K S via Varun Saxena) --- hadoop-yarn-project/hadoop-yarn/bin/yarn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hadoop-yarn-project/hadoop-yarn/bin/yarn b/hadoop-yarn-project/hadoop-yarn/bin/yarn index dbbaed37cd..bd91633368 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"