You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Raymond Xu (Jira)" <ji...@apache.org> on 2023/03/06 23:11:00 UTC

[jira] [Updated] (HUDI-5080) UnpersistRdds unpersist all rdds in the spark context

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

Raymond Xu updated HUDI-5080:
-----------------------------
    Fix Version/s: 0.14.0

> UnpersistRdds unpersist all rdds in the spark context
> -----------------------------------------------------
>
>                 Key: HUDI-5080
>                 URL: https://issues.apache.org/jira/browse/HUDI-5080
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: writer-core
>            Reporter: sivabalan narayanan
>            Assignee: sivabalan narayanan
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 0.13.1, 0.14.0
>
>
> In SparkRDDWriteClient, we have a method to clean up persisted Rdds to free up the space occupied. 
> [https://github.com/apache/hudi/blob/b78c3441c4e28200abec340eaff852375764cbdb/hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/client/SparkRDDWriteClient.java#L584]
> But the issue is, it cleans up all persisted rdds in the given spark context. This will impact, async compaction or any other async table services running. 
> or even if there are multiple streams writing to different tables, this will be cause a huge impact. 
>  
> This also needs to be fixed with DeltaSync. 
> [https://github.com/apache/hudi/blob/b78c3441c4e28200abec340eaff852375764cbdb/hudi-utilities/src/main/java/org/apache/hudi/utilities/deltastreamer/DeltaSync.java#L345]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)