mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Take care classpath of SparkIMain
This commit is contained in:
parent
5d3154e542
commit
cac2bb83f5
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue