Hive 如何在配置单元中执行更新?

Hive 如何在配置单元中执行更新?,hive,hortonworks-data-platform,Hive,Hortonworks Data Platform,我正在使用hortonworks的IBM沙盒在配置单元中执行更新。 我已经创建了一个具有酸性特性的表,并且也有带扣的表。 然后我设置了hive.txn.manager。 然后我得到了以下信息: FAILED: Semantic Exception [Error 10294]: Attempt to do update or delete using transaction manager that does not support these operations,while doing upd

我正在使用hortonworks的IBM沙盒在配置单元中执行更新。 我已经创建了一个具有酸性特性的表,并且也有带扣的表。 然后我设置了hive.txn.manager。 然后我得到了以下信息:

FAILED: Semantic Exception [Error 10294]: Attempt to do update or delete using transaction manager that does not support these operations,while doing update.

请建议更新配置单元中的行的方法。

在CLI上设置
set-hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager
。 在hive-site.xml中设置此选项并重新启动 接

设置hive.compactor.initiator.on=true

设置hive.compactor.worker.threads=1

这些特性是酸所必需的

还要确保表的属性设置为
transactional