You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "renyi.bao (Jira)" <ji...@apache.org> on 2020/06/24 01:50: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=17143445#comment-17143445 ]
renyi.bao commented on HUDI-945:
--------------------------------
hi [~vbalaji],I noticed that the current implementation is that only one file exists in the ExternalSpillableMap, (DiskBasedMap) ,maybe we can add a method 'release()' in ExternalSpillableMap 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.0
>
>
> 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)