You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Balaji Varadarajan (Jira)" <ji...@apache.org> on 2020/08/24 17:24:00 UTC
[jira] [Commented] (HUDI-945) Cleanup spillable map files eagerly
as part of close
[ https://issues.apache.org/jira/browse/HUDI-945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17183483#comment-17183483 ]
Balaji Varadarajan commented on HUDI-945:
-----------------------------------------
[~baobaoyeye]: Sorry for the delay. I missed this message. The idea is correct but we need to implement such cleanup using "clear()" method as it is part of Map interface and call it explicitly.
> Cleanup spillable map files eagerly as part of close
> ----------------------------------------------------
>
> Key: HUDI-945
> URL: https://issues.apache.org/jira/browse/HUDI-945
> Project: Apache Hudi
> Issue Type: Bug
> Components: Writer Core
> Reporter: Balaji Varadarajan
> Priority: Major
> Fix For: 0.6.1
>
>
> Currently, files used by external spillable map or deleted on exits. For spark-streaming/deltastreamer continuous-mode cases which runs several iterations, it is better to eagerly delete files on closing the handles using it.
> We need to eagerly delete the files on following cases:
> # MergeHandle
> # HoodieMergedLogRecordScanner
> # SpillableMapBasedFileSystemView
--
This message was sent by Atlassian Jira
(v8.3.4#803005)