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

Make ThreadPoolExecutorWithOomHook more awareness of OutOfMemoryError

    XMLWordPrintableJSON

Details

    Description

      Now the ThreadPoolExecutorWithOomHook invokes some oom hooks and stops the HiveServer2 in case of OutOfMemoryError when executing the tasks. The exception is obtained by calling method future.get(), however the exception should not be an instance of OutOfMemoryError,  as the exception is wrapped in ExecutionException,  refer to the method report in FutureTask.

      Attachments

        Issue Links

          Activity

            People

              dengzh Zhihua Deng
              dengzh Zhihua Deng
              Votes:
              0 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 - 1h 10m
                  1h 10m