YARN-5706. Fail to launch SLSRunner due to NPE. (Kai Sasaki via wangda)

This commit is contained in:
Wangda Tan 2016-12-20 11:03:29 -08:00
parent 1b401f6a73
commit 3bcfe3a9de

View File

@ -71,8 +71,8 @@ function parse_args()
function calculate_classpath
{
hadoop_add_to_classpath_tools hadoop-sls
hadoop_debug "Injecting ${HADOOP_TOOLS_DIR}/sls/html into CLASSPATH"
hadoop_add_classpath "${HADOOP_TOOLS_DIR}/sls/html"
hadoop_debug "Injecting ${HADOOP_TOOLS_HOME}/${HADOOP_TOOLS_DIR}/sls/html into CLASSPATH"
hadoop_add_classpath "${HADOOP_TOOLS_HOME}/${HADOOP_TOOLS_DIR}/sls/html"
}
function run_simulation() {