nope, not working [ec2-user@ip-xxx-xxx-xx-xxx ~]$ sudo -u zeppelin /usr/lib/zeppelin/bin/zeppelin-daemon.sh restart find: failed to restore initial working directory: Permission denied Zeppelin is not running Zeppelin start [ OK ] Zeppelin process died [FAILED]
On Wednesday, July 19, 2017, 3:39:37 PM PDT, moon soo Lee <m...@apache.org> wrote: Hi, Can you try restart Zeppelin with 'zeppelin' user permission? sudo -u zeppelin /usr/lib/zeppelin/bin/zeppelin-daemon.sh restart Thanks, moon On Wed, Jul 19, 2017 at 3:21 PM Richard Xin <richardxin...@yahoo.com> wrote: I was doing config changes on EMR (EMR Release label:emr-5.7.0) Zeppelin (Zeppelin 0.7.2) and struggled with Zeppelin server restart, finally I was able to narrow down to the steps to reproduce below (it's reproducible for any newly created EMR if following the steps below): 1) provision a EMR cluster (1 master node + 2 core nodes) with Spark, Hadoop, hive and Zeppelin 2) ssh to the master node 3) curl http://ec2-34-209-164-132.us-west-2.compute.amazonaws.com:8890/#/ 4) sudo /usr/lib/zeppelin/bin/zeppelin-daemon.sh restart 5) do #3 again you will see errors: <h2>HTTP ERROR: 503</h2> <p>Problem accessing /. Reason: <pre> Service Unavailable</pre></p> 6) tail Zeppelin log under /var/log/zeppelin/ you will see following errors: WARN [2017-07-19 21:34:57,425] ({main} AbstractLifeCycle.java[setFailed]:212) - FAILED org.eclipse.jetty.server.Server@4ed38226: java.net.BindException: Address already in use java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321) at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.server.Server.doStart(Server.java:366) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:189)