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

HS2 should log when shutting down due to OOM

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: HiveServer2
    • Labels:
      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.patch
          1 kB
          Barnabas Maidics
        2. HIVE-22037.3.patch
          1 kB
          Barnabas Maidics
        3. HIVE-22037.2.patch
          1 kB
          Barnabas Maidics

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: