You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Ji Qi (Jira)" <ji...@apache.org> on 2022/05/06 21:08:00 UTC

[jira] [Updated] (HUDI-3670) SqlQueryBasedTransformer leaks temp views in continuous mode

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

Ji Qi updated HUDI-3670:
------------------------
    Status: In Progress  (was: Open)

> SqlQueryBasedTransformer leaks temp views in continuous mode
> ------------------------------------------------------------
>
>                 Key: HUDI-3670
>                 URL: https://issues.apache.org/jira/browse/HUDI-3670
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: deltastreamer
>            Reporter: Ji Qi
>            Assignee: Ji Qi
>            Priority: Critical
>              Labels: pull-request-available
>
> In the Sql transformers, a new temp view with a random name is created for each incoming batch, but the temp view is never dropped.
> This causes a resource leak in Spark SessionState's Catalog. For long-running deltastreamer jobs, the temp views created causes HiveSessionCatalog to take up a lot of memory.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)