Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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