Take care classpath of SparkIMain

This commit is contained in:
Lee moon soo 2015-09-01 20:32:31 -07:00
parent 5d3154e542
commit cac2bb83f5

View file

@ -75,6 +75,8 @@ if [[ "${INTERPRETER_ID}" == "spark" ]]; then
if [[ -n "${SPARK_HOME}" ]]; then
SPARK_SUBMIT="${SPARK_HOME}/bin/spark-submit"
SPARK_APP_JAR="$(ls ${ZEPPELIN_HOME}/interpreter/spark/zeppelin-spark*.jar)"
# This will evantually passes SPARK_APP_JAR to classpath of SparkIMain
ZEPPELIN_CLASSPATH=${SPARK_APP_JAR}
else
# add Hadoop jars into classpath
if [[ -n "${HADOOP_HOME}" ]]; then