Stephan Sahm created ZEPPELIN-3820: -------------------------------------- Summary: bin/interpreter.sh overwrites spark-defaults.conf/spark.driver.extraJavaOptions Key: ZEPPELIN-3820 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3820 Project: Zeppelin Issue Type: Bug Affects Versions: 0.8.0 Environment: running zeppelin 0.8.0 Reporter: Stephan Sahm
In {code}zeppelin/bin/interpreter.sh{code} the following line starts the spark interpreter if spark-submit is available {code:java} INTERPRETER_RUN_COMMAND+=' '` echo ${SPARK_SUBMIT} --class ${ZEPPELIN_SERVER} --driver-class-path \"${ZEPPELIN_INTP_CLASSPATH_OVERRIDES}:${ZEPPELIN_INTP_CLASSPATH}\" --driver-java-options \"${JAVA_INTP_OPTS}\" ${SPARK_SUBMIT_OPTIONS} ${ZEPPELIN_SPARK_CONF} ${SPARK_APP_JAR} ${CALLBACK_HOST} ${PORT} ${INTP_GROUP_ID} ${INTP_PORT}` {code} where you can see that --driver-java-options is only depending on JAVA_INTP_OPTS and indeed will overwrite any spark.driver.extraJavaOptions if they had been specified in the spark-defaults.conf file This breaks the interoperability of spark-properties files and demands specific handling of Zeppelin everywhere. Hence I guess this behaviour is unintended. -- This message was sent by Atlassian JIRA (v7.6.3#76005)