hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From László Bodor (Jira) <j...@apache.org>
Subject [jira] [Updated] (HIVE-23144) LLAP: Let QueryTracker cleanup on serviceStop
Date Tue, 07 Apr 2020 17:00:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-23144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

László Bodor updated HIVE-23144:
--------------------------------
    Component/s: llap

> LLAP: Let QueryTracker cleanup on serviceStop
> ---------------------------------------------
>
>                 Key: HIVE-23144
>                 URL: https://issues.apache.org/jira/browse/HIVE-23144
>             Project: Hive
>          Issue Type: Bug
>          Components: llap
>            Reporter: László Bodor
>            Assignee: László Bodor
>            Priority: Major
>         Attachments: HIVE-23144.01.patch
>
>
> QueryTracker's executor service basically 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 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message