Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11621

testdata/bin/kill-hive-server.sh should remove the HiveServer2 pid file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.2.0
    • Impala 4.2.0
    • Infrastructure
    • None
    • ghx-label-11

    Description

      With HIVE-22193, Hive added a graceful stop functionality that also changed some startup scripts. Hive now keeps a file with the HiveServer2's pid and checks to see if it is already running before starting up. testdata/bin/kill-hive-server.sh uses testdata/bin/kill-java-service.sh, and it doesn't know to remove the pid file. Since testdata/bin/kill-java-service.sh would fail if it was unable to stop HiveServer2, it should be safe to remove the pid file after that command succeeds.

      If we don't remove the pid file, the OS might reuse the pid and this could interfere with HiveServer2 startup.

      Attachments

        Activity

          People

            joemcdonnell Joe McDonnell
            joemcdonnell Joe McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: