parikhishan24 commented on issue #2970:
URL: https://github.com/apache/hudi/issues/2970#issuecomment-1939474843

   Hi Team, 
   we are trying to do **concurrent writes on HUDI** 
   **hudi-spark3.3-bundle_2.12:0.13.1**
   
   **and appliend concurrency control properties on hive properties via** 
   `    
"spark.sql.extensions"="org.apache.spark.sql.hudi.HoodieSparkSessionExtension"
       "spark.sql.autoBroadcastJoinThreshold"="-1"
       "spark.serializer"="org.apache.spark.serializer.KryoSerializer"
       
"spark.sql.catalog.spark_catalog"="org.apache.spark.sql.hudi.catalog.HoodieCatalog"
       
"hoodie.datasource.write.keygenerator.class"="org.apache.hudi.keygen.NonpartitionedKeyGenerator"
       
"hoodie.datasource.write.payload.class"="org.apache.hudi.common.model.OverwriteNonDefaultsWithLatestAvroPayload"
       "hoodie.cleaner.commits.retained"="2"
       "hoodie.insert.shuffle.parallelism"="54"
       "hoodie.finalize.write.parallelism"="54"
       "hoodie.cleaner.fileversions.retained"="3"
       "hoodie.datasource.query.type"="snapshot"
       "hoodie.datasource.write.reconcile.schema"="true"
       "hoodie.write.lock.hivemetastore.database"="<db name>"
       "hoodie.write.lock.hivemetastore.table"="<table name>"
       "hoodie.write.lock.client.num_retries"="15"
       "hoodie.write.lock.wait_time_ms"="900000"
       "hoodie.write.lock.client.wait_time_ms"="900000"
       "hoodie.write.concurrency.mode"="optimistic_concurrency_control"
       
"hoodie.write.lock.provider"="org.apache.hudi.hive.HiveMetastoreBasedLockProvider"`
   
   
   and still getting exception 
   org.apache.hudi.exception.HoodieUpsertException: Failed to upsert for commit 
time
   
   
gs://2f907c5c3d18a85a3cf1ddc74f138e27e208fe24f33e2829af7509a031733e/data/us_secure_dl_facets_1p_restrict.db/cust_attr_store_hudi/38a71b8e-094b-423d-b8e1-8a4da7649ff4-0_661-119-157966_20240209125256640.parquet
   
   **Note :**  this  error are intermittently, sonce we are not able to fix it 
and hence each time we have to drop the table. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to