Ahyoung created ZEPPELIN-1209:
---------------------------------

             Summary: Changing Zeppelin default interpreter in 
zeppelin-site.xml doesn't work 
                 Key: ZEPPELIN-1209
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1209
             Project: Zeppelin
          Issue Type: Bug
            Reporter: Ahyoung


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|https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/install/install.html#apache-zeppelin-configuration]
 (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|https://mail-archives.apache.org/mod_mbox/zeppelin-users/201607.mbox/%3CCAACagqmquE%2Bn%2BZeT5KZe_jn5LpW4C248%2B9x4%3DJmdxNEfz%3DKt9A%40mail.gmail.com%3E].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to