awesome-kyuubi / hadoop-testing

Testing Sandbox for Hadoop Ecosystem Components
Apache License 2.0
32 stars 13 forks source link

Enable EmbeddedLockManager on HS2 to support concurrency #91

Closed zhouyifan279 closed 8 months ago

zhouyifan279 commented 8 months ago

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

pan3793 commented 8 months ago

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

zhouyifan279 commented 8 months ago

Sounds reasonable

zhouyifan279 commented 8 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.