From fcea5a4d798a517443afd0b441883ccc4e9136ba Mon Sep 17 00:00:00 2001 From: Haibo Chen Date: Mon, 26 Mar 2018 14:30:11 -0700 Subject: [PATCH] YARN-7794. SLSRunner is not loading timeline service jars, causing failure. (Yufei Gu via Haibo Chen) --- hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh b/hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh index e069a4c9fc..5a9de89ae6 100644 --- a/hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh +++ b/hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh @@ -77,6 +77,8 @@ function parse_args() function calculate_classpath { hadoop_add_to_classpath_tools hadoop-sls + + hadoop_add_classpath "${HADOOP_YARN_HOME}/${YARN_DIR}/timelineservice"'/*' } function run_simulation() {