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

bin\zeppelin.cmd on windows ... empty web page application, need unzip manually wars (and no docs saying so)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.9.0, 0.10.0, 0.10.1
    • None
    • front-end
    • None

    Description

      calling "bin\zeppelin.cmd" on windows silently failed... the application starts, but the web page on http://localhost:8080 is empty (with http 400 or 500 on sub pages *.js, *.css, *.png, ...)

      in log, we can see

       WARN [2022-09-13 19:48:27,504] ({main} WebAppContext.java[doStart]:533) - Failed startup of context o.e.j.w.WebAppContext@13ed316{/next,null,UNAVAILABLE}{C:\apps\hadoop\zeppelin\zeppelin-0.10.1\zeppelin-web-angular\dist}
      java.io.FileNotFoundException: C:\apps\hadoop\zeppelin\zeppelin-0.10.1\zeppelin-web-angular\dist
              at org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:663)
              at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:141)
              at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:488)
              at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:523)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
              at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
      

      Googling this error ... nothing is found in the official installation docs, but many users complain on the same error.

      Manually, done :

      mkdir -p zeppelin-web-angular\dist
      cd zeppelin-web-angular\dist
      jar xf ../../zeppelin-web-angular-*.war
      
      cd ../../
      
      mkdir -p zeppelin-web\dist
      cd zeppelin-web\dist
      jar xf ../../zeppelin-web-*.war
      
      

      it fixed the empty web page at startup
      => expecting either to be explicitly documented in official windows install
      OR (better) to be done automatically in the script (on first launch, if dir not already exists)

      Attachments

        Activity

          People

            Unassigned Unassigned
            arnaud.nauwynck Arnaud Nauwynck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: