You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Qijun Fu (Jira)" <ji...@apache.org> on 2023/09/20 01:36:00 UTC
[jira] [Assigned] (HUDI-6878) Hudi Table was not initialized corretly when write multi tables in a single job
[ https://issues.apache.org/jira/browse/HUDI-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Qijun Fu reassigned HUDI-6878:
------------------------------
Assignee: Qijun Fu
> Hudi Table was not initialized corretly when write multi tables in a single job
> -------------------------------------------------------------------------------
>
> Key: HUDI-6878
> URL: https://issues.apache.org/jira/browse/HUDI-6878
> Project: Apache Hudi
> Issue Type: Bug
> Components: spark
> Reporter: Qijun Fu
> Assignee: Qijun Fu
> Priority: Major
>
> When we call org.apache.hudi.HoodieSparkSqlWriter#write concurrently (for writing multiple tables), org.apache.hudi.HoodieSparkSqlWriter#tableExists will be modified concurrently since it's a static variable belong to the class HoodieSparkSqlWriter. Need to make it as a local variable to avoid concurrent modify.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)