Alex Liu created ZEPPELIN-2280:
----------------------------------

             Summary: Spark Default Interpreter Setting Changed in 
interpreter.json not Reflected in UI
                 Key: ZEPPELIN-2280
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2280
             Project: Zeppelin
          Issue Type: Bug
          Components: conf, front-end, GUI, pySpark
    Affects Versions: 0.7.0
         Environment: Ubuntu Server - Hadoop single node - Spark 
            Reporter: Alex Liu
            Priority: Minor


h3.Behavior:
h4.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

{code}
"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"
          }
        },
        ...
{code}

h4.However, In the web UI -> Settings -> Interpreter binding page:
The first list item becomes:
{panel:bgColor=#9bc1ff}
   {color:white}*spark* {color}%{color:red}spark{color} (default) , 
{color:white}%spark , %sql , %dep , %r{color}
{panel}

Notice that the text in red actually should be "pyspark", which is missing now 

h4.The default interpreter is successfully set to PySpark though




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to