Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-22834

Zeppelin Alert checks wrong pid file

    XMLWordPrintableJSON

Details

    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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            krisden Kevin Risden
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h
                3h