How can I get Zeppelin to restart cleanly on an EMR cluster? How can I get Zeppelin to restart cleanly on an EMR cluster? hadoop hadoop

How can I get Zeppelin to restart cleanly on an EMR cluster?


I ssh'ed into the master node, then ran

$ sudo stop zeppelinzeppelin stop/waiting$ sudo start zeppelinzeppelin start/running, process 24434

Immediately after, refreshing Zeppelin gave me a 503, but after ~2 minutes or so, the UI was available again. I checked the logs in /var/log/zeppelin and it takes some time to configure settings.


Services on EMR use upstart, and the supported way to restart them is to use "sudo stop <service-name>; sudo start <service-name>". (The start and stop commands are in /sbin, which is in the PATH by default.)

Note: currently on EMR there is a limitation that prevents /sbin/restart from working properly, so you must use stop then start instead of restart.


Have you tried:

sudo /usr/lib/zeppelin/bin/zeppelin-daemon.sh stop/start?