hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jh...@apache.org
Subject hadoop git commit: YARN-7794. SLSRunner is not loading timeline service jars, causing failure.
Date Sat, 01 Dec 2018 01:03:16 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 7456da99c -> 74e40981e


YARN-7794. SLSRunner is not loading timeline service jars, causing failure.


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

Branch: refs/heads/branch-2
Commit: 74e40981eb8b407a1f0803bc80b4bf1c199a0230
Parents: 7456da9
Author: Jonathan Hung <jyhung2357@gmail.com>
Authored: Fri Nov 30 17:03:01 2018 -0800
Committer: Jonathan Hung <jyhung2357@gmail.com>
Committed: Fri Nov 30 17:03:01 2018 -0800

----------------------------------------------------------------------
 hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/74e40981/hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh b/hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh
index 4a10938..0d90ded 100644
--- a/hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh
+++ b/hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh
@@ -86,7 +86,8 @@ calculateClasspath() {
   HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-$DEFAULT_LIBEXEC_DIR}
   . $HADOOP_LIBEXEC_DIR/hadoop-config.sh
   SLS_HTML="${HADOOP_PREFIX}/share/hadoop/tools/sls/html"
-  export HADOOP_CLASSPATH="${HADOOP_CLASSPATH}:${TOOL_PATH}:${SLS_HTML}"
+  TIMELINE_SERVICE="${HADOOP_YARN_HOME}/${YARN_DIR}/timelineservice/*"
+  export HADOOP_CLASSPATH="${HADOOP_CLASSPATH}:${TOOL_PATH}:${SLS_HTML}:${TIMELINE_SERVICE}"
 }
 ###############################################################################
 runSimulation() {


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


Mime
View raw message