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

LLAP: Let QueryTracker cleanup on serviceStop

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: llap
    • Labels:
      None

      Description

      QueryTracker's executor service basically runs cleanup tasks: ExternalQueryCleanerCallable, DagMapCleanerCallable, FileCleanerCallable. Changing the shutdown behavior to .shutdown() from .shutdownNow() would let QueryTracker to cleanup its garbage, for example shuffle local files:
      https://github.com/apache/hive/blob/c3ec20dd4f5b5fbde4007041844f6aed8c262ca1/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/QueryTracker.java#L440

        Attachments

        1. HIVE-23144.01.patch
          0.8 kB
          László Bodor

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: