Hi,

What do you mean by "possible deadlock issue"?  

- IOW is stuck trying to acquire a write lock (could you check this in HS2 
logs)?
- What is the value of `hive.txn.ext.locking.enabled` config? If 'false', 
pessimistic locking won't be enabled on iceberg tables. 
- Are you using any Hive-managed tables as input for IOW?

PS: `DbLockManager` provides Hive locking for Iceberg tables, meaning you need 
to employ `DbTxnManager`, which is the default for Hive-4.x

Are you using `DummyTxnManager` with `EmbeddedLockManager`?

Note, if you want to ensure data correctness between concurrent Insert & IOW 
submitted through Hive & Trino, you should also create an HMS Lock in Trino and 
reload the snapshot, otherwise, data correctness is not guaranteed.

Regards,
Denys

Reply via email to