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

Spark Default Interpreter Setting Changed in interpreter.json not Reflected in UI

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.7.0
    • Fix Version/s: None
    • Component/s: conf, front-end, GUI, pySpark
    • Labels:
      None
    • Environment:

      Ubuntu Server - Hadoop single node - Spark

      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

            Activity

              People

              • Assignee:
                Mina Lee Mina Lee
                Reporter:
                alexliu Alex Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: