meatheadmike commented on issue #7653:
URL: https://github.com/apache/hudi/issues/7653#issuecomment-2308014996
Yes. This happens this seems to happens with multiple writers. I do specify
the lock config:
```
'compaction.delta_commits'='2',
'connector' = 'hudi',
'hive_sync.db'='{hudi_db}',
'hive_sync.enable'='true',
'hive_sync.jdbcurl'='{hive_jdbc_url}',
'hive_sync.metastore.uris'='{hive_thrift_url}',
'hive_sync.mode'='hms',
'hive_sync.password'='',
'hive_sync.table'='{hudi_table}',
'hive_sync.username'='hive',
'hoodie.cleaner.policy.failed.writes' = 'LAZY',
'hoodie.database.name'='{hudi_db}',
'hoodie.datasource.write.recordkey.field'='name',
'hoodie.embed.timeline.server'='false',
'hoodie.parquet.compression.codec' = 'snappy',
'hoodie.payload.event.time.field' = 'event_time',
'hoodie.payload.ordering.field' = 'event_time',
'hoodie.table.name'='{hudi_table}',
'hoodie.table.precombine.field' = 'event_time',
'hoodie.table.recordkey.fields' = 'name',
'hoodie.write.concurrency.mode' = 'optimistic_concurrency_control',
'hoodie.write.lock.hivemetastore.database'='{hudi_db}',
'hoodie.write.lock.hivemetastore.table'='{hudi_table}',
'hoodie.write.lock.provider' =
'org.apache.hudi.hive.transaction.lock.HiveMetastoreBasedLockProvider',
'path' = '{hudi_table_path}',
'precombine.field'='event_time',
'read.streaming.enabled'='true',
'read.streaming.skip_compaction'='true',
'read.tasks'='4',
'recordkey.field'='name',
'table.type' = 'MERGE_ON_READ',
'write.operation' = 'upsert',
'write.precombine.field' = 'event_time',
'write.recordkey.field'='name',
'write.tasks'='4'
```
--
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]