- BEGIN, COMMIT, ROLLBACK语义目前还不支持。当前事务都是自动提交。这些语义后期会支持
- 当前版本,只支持ORC格式的hive表
- 事务的默认配置都是不开启的,需要手动开启。hive的配置链接在这里。
- 目前只支持桶表。不支持外部表。
- 不能在非ACID Session对事务表进行读写操作。也就是说,hive的transaction manager必须设置为org.apache.hadoop.hive.ql.lockmgr.DbTxnManager才能对事务表进行读写操作。
- The existing ZooKeeper and in-memory lock managers are not compatible with transactions. There is no intention to address this issue. See Basic Design below for a discussion of how locks are stored for transactions.
- 当使用oracle作为元数据DB的时候,设置"datanucleus.connectionPoolingType=BONECP" 可能会导致 "No such lock.." 和"No such transaction..." 之类的错误. 建议设置为"datanucleus.connectionPoolingType=DBCP"
HIVE ACID(UPDATE、DELETE等事务操作)的限制
最新推荐文章于 2024-01-10 10:39:09 发布