[ https://issues.apache.org/jira/browse/HIVE-23144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
László Bodor updated HIVE-23144: -------------------------------- Description: QueryTracker's executor service only runs cleanup tasks: ExternalQueryCleanerCallable, DagMapCleanerCallable, FileCleanerCallable...changing the shutdown behavior to [.shutdown()|https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html#shutdown] from [.shutdownNow()|https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html#shutdownNow] would let QueryTracker to cleanup it's 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 > LLAP: Let QueryTracker cleanup on serviceStop > --------------------------------------------- > > Key: HIVE-23144 > URL: https://issues.apache.org/jira/browse/HIVE-23144 > Project: Hive > Issue Type: Bug > Reporter: László Bodor > Assignee: László Bodor > Priority: Major > Attachments: HIVE-23144.01.patch > > > QueryTracker's executor service only runs cleanup tasks: > ExternalQueryCleanerCallable, DagMapCleanerCallable, > FileCleanerCallable...changing the shutdown behavior to > [.shutdown()|https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html#shutdown] > from > [.shutdownNow()|https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html#shutdownNow] > would let QueryTracker to cleanup it's 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 -- This message was sent by Atlassian Jira (v8.3.4#803005)