Details
Description
Behavior:
Changes are made to conf/interpreter.json under the Spark group:
- interpreterGroup -> spark -> defaultInterpreter => set value to "false"
- interpreterGroup -> pyspark -> defaultInterpreter => set value to "true"
- moved the pyspark entry above spark entry
As shown below
"2CC2YSMHR": { "id": "2CC2YSMHR", "name": "spark", "group": "spark", "properties": { "spark.executor.memory": "", "args": "", ... "zeppelin.R.cmd": "R" }, "status": "READY", "interpreterGroup": [ { "name": "pyspark", "class": "org.apache.zeppelin.spark.PySparkInterpreter", "defaultInterpreter": true, "editor": { "language": "python" } }, { "name": "spark", "class": "org.apache.zeppelin.spark.SparkInterpreter", "defaultInterpreter": false, "editor": { "language": "scala" } }, ...
However, In the web UI -> Settings -> Interpreter binding page:
The first list item becomes:
spark %spark (default) , %spark , %sql , %dep , %r
Notice that the text in red actually should be "pyspark", which is missing now
The default interpreter is successfully set to PySpark though
Attachments
Issue Links
- is related to
-
ZEPPELIN-1551 Default interpreter is different at various places
- Resolved
- links to