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

Hive driver wait time is fixed for task getting executed in parallel.

    XMLWordPrintableJSON

Details

    Description

      During a command execution hive driver executes the task in a separate thread if the task to be executed is set as parallel. After starting the task, driver checks if the task has finished execution or not. If the task execution is not finished it waits for 2 seconds before waking up again to check the task status. In case of task with execution time in milliseconds, this wait time can induce substantial overhead. So the execution thread can call notify to interrupt the wait call. This will make sure that the next thread execution can start immediately.

      Attachments

        1. HIVE-21694.01.patch
          4 kB
          mahesh kumar behera
        2. HIVE-21694.02.patch
          3 kB
          mahesh kumar behera

        Issue Links

          Activity

            People

              maheshk114 mahesh kumar behera
              maheshk114 mahesh kumar behera
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 20m
                  20m