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

Introduce unified thread pool for scheduled jobs

    XMLWordPrintableJSON

Details

    Description

      As I mentioned in the comment of HIVE-23164, I've made the unified scheduled executor service like org.apache.hadoop.hive.metastore.ThreadPool.

      I think it could help
      1. to minimize the possibility of making non-daemon threads when developers need ScheduledExecutorService
      2. to achieve the utilization of server resources because the current situation is all of the modules make its own ScheduledExecutorService and all of the threads are just using for one job.
      3. administrators of Hive servers by providing hive.exec.scheduler.num.threads configuration so that they can predict and set how many threads are used and needed.

      Attachments

        1. HIVE-23458.03.patch
          26 kB
          Eugene Chung
        2. HIVE-23458.02.patch
          21 kB
          Eugene Chung
        3. HIVE-23458.01.patch
          20 kB
          Eugene Chung

        Issue Links

          Activity

            People

              euigeun_chung Eugene Chung
              euigeun_chung Eugene Chung
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h