遵循here的极简主义安装说明,然后执行macOS High Sierra 10.13.1:
bin/zeppelin-daemon.sh start
守护程序启动正常,但将任何浏览器指向http://localhost:8080
会产生
HTTP ERROR: 503
Problem accessing /. Reason:
Service Unavailable
Powered by Jetty://
如果我以root用户身份运行,或者以root用户身份运行浏览器,或者通过自制程序(brew install apache-zeppelin
安装),则会发生同样的事情。
权限问题?
什么是解决方案?
谢谢!
答案 0 :(得分:6)
解决方法是:
在How to set or change the default Java (JDK) version on OS X?之后安装Java 8 ,即
brew tap caskroom/versions
brew cask install java8
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
然后:
sudo bash
zeppelin-daemon.sh start
/Applications/Safari.app/Contents/MacOS/Safari
将浏览器指向:
http://localhost:8080
成功!结论:
Zeppelin 0.7.3仅支持Java< = 8.0
zeppelin-daemon.sh必须以root身份运行,但浏览器不一定是
答案 1 :(得分:-1)
如果我们可以在安装时提供超级用户密码,我们不必每次都以root用户身份运行。请参阅下面的日志和提供密码的选项。
[ksurendranath@machine /usr/local/Cellar/apache-zeppelin/0.7.3/libexec/logs 10:54 AM ]$ brew cask install java8
==> Tapping caskroom/cask
Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask'...
remote: Counting objects: 4057, done.
remote: Compressing objects: 100% (4022/4022), done.
remote: Total 4057 (delta 37), reused 824 (delta 31), pack-reused 0
Receiving objects: 100% (4057/4057), 1.39 MiB | 11.49 MiB/s, done.
Resolving deltas: 100% (37/37), done.
Tapped 0 formulae (4,066 files, 4.4MB)
==> Creating Caskroom at /usr/local/Caskroom
==> We'll set permissions properly so we won't need sudo in the future
密码:
答案 2 :(得分:-1)
在使用Zeppelin服务器的端口上获取进程信息
1)sudo netstat -anp | grep 8080
2)sudo kill(ProcessID)
3)/zeppelin-server/bin/zeppelin-daemon.sh重新启动
这可能对您有帮助