Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.6.1
Description
The Zeppelin alert check doesn't check the actual Zeppelin pid file. Instead it can pick up interpreter pid files.
pid_file = glob.glob(zeppelin_pid_dir + '/zeppelin-*.pid')[0]
This is wrong when there are multiple files in the pid dir starting with "zeppelin-".
ls -l /var/run/zeppelin/
-rw-r--r-- 1 zeppelin hadoop 7 Jan 16 12:01 zeppelin-interpreter-livy-zeppelin-HOSTNAME.pid
-rw-r--r-- 1 zeppelin hadoop 7 Jan 16 11:56 zeppelin-zeppelin-HOSTNAME.pid