Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-3820

bin/interpreter.sh overwrites spark-defaults.conf/spark.driver.extraJavaOptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.8.0
    • None
    • None
    • running zeppelin 0.8.0

    Description

      In

      zeppelin/bin/interpreter.sh

      the following line starts the spark interpreter if spark-submit is available

      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}`
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Stephan Sahm Stephan Sahm
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: