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

Changing Zeppelin default interpreter in zeppelin-site.xml doesn't work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.1, 0.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Zeppelin has the Scala interpreter assigned as the default for Spark notebooks. This default setting creates an additional step if you are to write code using PySpark. You will need to insert a %pyspark at the beginning of each row of the notebook, for Zeppelin to understand that this is PySpark code. As described in here (in zeppelin.interpreters property).

      However switching org.apache.zeppelin.spark.SparkInterpreter and org.apache.zeppelin.spark.PySparkInterpreter order doesn't change the default interpreter in Zeppelin notebook. In short, I can't use pyspark interpreter without %pyspark annotation even if I updated zeppelin-site.xml and restarted Zeppelin server.

      This issue was reported originally in here.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Ahyoung Ahyoung Ryu
                Reporter:
                Ahyoung Ahyoung Ryu
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: