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

(Windows) Zeppelin on Windows 10 fails to load conf and interpreter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.6.2
    • None
    • Core, Interpreters
    • None

    Description

      Hi moon, Pallavi, and luxspes@gmail.com

      This issue is similar to ZEPPELIN-647 (see last comment) and ZEPPELIN-1506 except I was able to create a notebook and I couldn't find any errors related to JSP support in the log.

      Two issues I cannot seem to resolve are:

      1. zeppelin does not load the configuration file
      2. The UI opens but spark does not run the code because zeppelin cannot create an interpreter

      Note, I tried to invoke the embedded spark interpreter directly with cmd (as found in the zeppelin log) and got the following error:

      Relevant cmd stdout

      C:\Users\lab>c:\zeppelin\bin\interpreter.cmd -d c:\zeppelin\interpreter\spark -p 60076 -l c:\zeppelin/local-repo/2C2APP9EQ
      The filename, directory name, or volume label syntax is incorrect.

      I tried changing the / to \ and got the same error:

      Relevant cmd stdout

      C:\Users\lab>c:\zeppelin\bin\interpreter.cmd -d c:\zeppelin\interpreter\spark -p 60076 -l c:\zeppelin\local-repo\2C2APP9EQ
      The filename, directory name, or volume label syntax is incorrect.

      I noticed that the local-repo/[] folder wasn't created so I created it, tried to invoke the embedded spark interpreter from cmd again, and got the new error:

      Relevant cmd stdout

      C:\Users\lab>mkdir c:\zeppelin\local-repo\2C2APP9EQ
      C:\Users\lab>c:\zeppelin\bin\interpreter.cmd -d c:\zeppelin\interpreter\spark -p 60076 -l c:\zeppelin\local-repo\2C2APP9EQ
      The system cannot find the path specified.

      I have attached relevant information, screenshots, and logs. Below are some interesting errors/warnings/info.

      Thanks

      Relevant ZEPPELIN_HOME/conf/zeppelin-env.cmd

      set ZEPPELIN_JAVA_OPTS=-Dspark.driver.memory=10g -Dspark.cores.max=2
      set SPARK_HOME=C:\spark

      Relevant cmd stdout

      c:\zeppelin\bin>zeppelin.cmd
      ...
      WARNING: A HTTP GET method, public javax.ws.rs.core.Response org.apache.zeppelin.rest.InterpreterRestApi.listInterpreter(java.lang.String), should not consume any entity.
      WARNING: A sub-resource method, public javax.ws.rs.core.Response org.apache.zeppelin.rest.NotebookRestApi.createNote(java.lang.String) throws java.io.IOException, with URI template, "/", is treated as a resource method
      WARNING: A sub-resource method, public javax.ws.rs.core.Response org.apache.zeppelin.rest.NotebookRestApi.getNotebookList() throws java.io.IOException, with URI template, "/", is treated as a resource method
      The filename, directory name, or volume label syntax is incorrect.

      Relevant ZEPPELIN_HOME/logs/10_26.log

      WARN [2016-10-27 00:03:27,486] (

      Unknown macro: {main}

      ZeppelinConfiguration.java[create]:94) - Failed to load configuration, proceeding with a default
      ...
      ERROR [2016-10-27 00:03:29,981] (

      Interpreter.java[register]:315) - Static initialization is deprecated. You should change it to use interpreter-setting.json in your jar or interpreter/

      Unknown macro: {interpreter}

      /interpreter-setting.json
      INFO [2016-10-27 00:03:29,981] (

      Unknown macro: {main}

      InterpreterFactory.java[init]:154) - Interpreter python.python found. class=org.apache.zeppelin.python.PythonInterpreter
      INFO [2016-10-27 00:03:30,000] (

      InterpreterFactory.java[init]:154) - Interpreter sh.sh found. class=org.apache.zeppelin.shell.ShellInterpreter
      INFO [2016-10-27 00:03:30,422] (

      Unknown macro: {main}

      InterpreterFactory.java[init]:154) - Interpreter spark.spark found. class=org.apache.zeppelin.spark.SparkInterpreter
      ...
      INFO [2016-10-27 00:05:42,207] (

      Unknown macro: {pool-1-thread-2}

      RemoteInterpreterProcess.java[reference]:148) - Run interpreter process [c:\zeppelin\bin\interpreter.cmd, -d, c:\zeppelin\interpreter\spark, -p, 59903, -l, c:\zeppelin/local-repo/2C2APP9EQ]
      INFO [2016-10-27 00:05:42,292] (

      Unknown macro: {Exec Default Executor}

      RemoteInterpreterProcess.java[onProcessFailed]:288) - Interpreter process failed {}
      org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
      ...

      Attachments

        1. cmd.PNG
          99 kB
          Dustin DeMeo
        2. file browser.PNG
          33 kB
          Dustin DeMeo
        3. ui.PNG
          116 kB
          Dustin DeMeo
        4. zeppelin-lab-LAB.log
          34 kB
          Dustin DeMeo
        5. zeppelin-env.cmd
          5 kB
          Dustin DeMeo

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dustindemeo Dustin DeMeo
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: