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

HiveServer interactive stop should wait for 30 second before sending kill -9

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • ambari-server
    • None

    Description

      Currently when stopping Hive server interactive, the following steps seem to be taken.
      1. Send kill to hive server interactive process
      2. Wait for 5 seconds and send kill -9 if process in not killed.

      If HS2 is not shutdown properly - long running sessions (AMs) started by it will not be killed. In case of LLAP - these sessions will typically run for hours. Without the kill - LLAP cannot be restarted, since the old sessions will exist in the LLAP queue, and due to the precise capacity calculations - the queue will not have enough capacity to start new sessions.

      Ideally it should wait for 30 second before sending kill -9

      Attachments

        1. rb50159.patch
          3 kB
          Ajit Kumar

        Issue Links

          Activity

            People

              ajit.kumar Ajit Kumar
              ajit.kumar Ajit Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: