You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Michael Ho (Jira)" <ji...@apache.org> on 2019/12/06 00:35:00 UTC

[jira] [Assigned] (IMPALA-8775) Have the option to delete data cache files on Impala shutdown

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

Michael Ho reassigned IMPALA-8775:
----------------------------------

    Assignee: Joe McDonnell  (was: Michael Ho)

> Have the option to delete data cache files on Impala shutdown
> -------------------------------------------------------------
>
>                 Key: IMPALA-8775
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8775
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 3.3.0
>            Reporter: Michael Ho
>            Assignee: Joe McDonnell
>            Priority: Major
>
> Currently, Impala will delete old data cache files upon restart but it only does so when data cache is enabled. However, if the user turns off the data cache after restart, the old data cache files may be left hanging around until the next restart with the cache enabled. We should have an option to delete the data cache files on Impala shutdown. The initial implementation of the data cache has the unlink-on-create behavior but it was confusing to users as there will be unaccounted usage on the storage side (as the file is not easily visible after unlink). We may want to consider support this "unlink-on-create" behavior behind a flag in case users prefer to have the data cache files removed upon Impala's exit. In the long run, we probably want to have an "exit handler" in Impala to make sure resources are freed up on Impala exit.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org