Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22037

HS2 should log when shutting down due to OOM

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • HiveServer2
    • None

    Description

      Currently, if HS2 runs into OOM issue, ThreadPoolExecutorWithOomHook kicks in and runs oomHook, which will stop HS2. Everything happens without logging. In the log, you can only see, that HS2 stopped. 

      We should log the stacktrace. 

      Attachments

        1. HIVE-22037.2.patch
          1 kB
          Barnabas Maidics
        2. HIVE-22037.3.patch
          1 kB
          Barnabas Maidics
        3. HIVE-22037.patch
          1 kB
          Barnabas Maidics

        Activity

          People

            b.maidics Barnabas Maidics
            b.maidics Barnabas Maidics
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: