YARN-7794. SLSRunner is not loading timeline service jars, causing failure.
This commit is contained in:
parent
7456da99c1
commit
74e40981eb
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue