Search code examples
jettyapache-zeppelin

Apache Zeppelin 0.7.3 - http error 503 in browser


Following the minimalist installation instructions from here, then on macOS High Sierra 10.13.1 executing:

bin/zeppelin-daemon.sh start

The daemon starts OK, but pointing any browser to http://localhost:8080 yields

HTTP ERROR: 503
    Problem accessing /. Reason:

    Service Unavailable
Powered by Jetty://

The same thing happens if I run as root, or if I run the browser as root, or if I install via homebrew (brew install apache-zeppelin).

Permissions problem?

What is a solution?

Thanks!


Solution

  • The workaround was:

    1. Install Java 8, following How to set or change the default Java (JDK) version on OS X?, i.e.

      brew tap caskroom/versions
      brew cask install java8
      export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
      
    2. Then:

      sudo bash
      zeppelin-daemon.sh start
      /Applications/Safari.app/Contents/MacOS/Safari
      
    3. Point browser to: http://localhost:8080

    Success! Conclusions:

    1. Zeppelin 0.7.3 only supports Java <= 8.0

    2. zeppelin-daemon.sh must be run as root, but browser doesn't have to be