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

This commit is contained in:
Jonathan Hung 2018-11-30 17:03:01 -08:00
parent 7456da99c1
commit 74e40981eb
1 changed files with 2 additions and 1 deletions

View File

@ -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() {