Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-24913 LlapTaskScheduler Improvements
  3. HIVE-24537

Optimise locking in LlapTaskSchedulerService

    XMLWordPrintableJSON

Details

    Description

      1. Read lock should suffice for "notifyStarted()".
      2. Locking in "allocateTask()" can be optimised.
      3. Optimize preemptTasks() & preemptTasksFromMap(). This would help in reducing the codepath with writeLock. Currently, it iterates through all tasks.

       

       

      Attachments

        Issue Links

          Activity

            People

              pgaref Panagiotis Garefalakis
              rajesh.balamohan Rajesh Balamohan
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 20m
                  1h 20m