awesome-kyuubi / hadoop-testing

Testing Sandbox for Hadoop Ecosystem Components
Apache License 2.0
29 stars 11 forks source link

Enable EmbeddedLockManager on HS2 to support concurrency #91

Closed zhouyifan279 closed 3 months ago

zhouyifan279 commented 3 months ago

By default, hive.support.concurrency is true and DummyTxnManager requires a ZooKeeper quorum.

pan3793 commented 3 months ago

how about adding configurations to make ZooKeeperHiveLockManager work? I suppose it does not have deadlock issue like the DBTxManager?

zhouyifan279 commented 3 months ago

Sounds reasonable

zhouyifan279 commented 3 months ago

ZooKeeperHiveLockManager implements Table lock by persistent ZNode. It shall have the same problem.

EmbeddedLockManager is a better choice. It stores locks in memory.