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

LLAP: TaskExecutorService should log details about task eviction decision details

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • llap
    • None

    Description

      TaskExecutorService maintains a waitQueue, and can evict a task in favor of another. Under the hood, the queue uses a configurable comparator. The currently available comparators typically use the following properties of a task(wrapper):
      getWithinDagPriority: related to vertex
      currentAttemptStartTime
      firstAttemptStartTime
      knownPending: remaining upstream tasks

      The problem is, when an eviction happens, the INFO level message doesn't provide any insight about the decision, only attempts ids like below:

      attempt_1585248378306_0010_72_02_000096_8 evicted from wait queue in favor of attempt_1585248378306_0003_175_02_000079_175 because of lower priority
      

      Attachments

        1. HIVE-23122.03.patch
          2 kB
          László Bodor
        2. HIVE-23122.03.patch
          2 kB
          László Bodor
        3. HIVE-23122.02.patch
          2 kB
          László Bodor

        Issue Links

          Activity

            People

              abstractdog László Bodor
              abstractdog László Bodor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: