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

LLAP: Let QueryTracker cleanup on serviceStop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • llap
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: