虽然试图更新蜂巢表中的Cloudera快速入门VM数据,我得到这个错误。
在编译语句错误:失败:SemanticException [错误10294]:尝试做更新或者使用不支持这些操作的事务管理器中删除。
我加入蜂房site.xml文件的一些变化,也重新启动蜂巢和cloudera.These是我在蜂房site.xml中所做的更改
hive.support.concurrency – true
hive.enforce.bucketing – true
hive.exec.dynamic.partition.mode – nonstrict
hive.txn.manager –org.apache.hadoop.hive.ql.lockmgr.DbTxnManager
hive.compactor.initiator.on – true
hive.compactor.worker.threads – 1
我试着与你的hortonworks沙箱提供的配置,我能够做一个表ACID操作,我想它的工作原理也Cloudera的环境。虽然有一个有些事情提:
hive>create table testTableNew(id int ,name string ) clustered by (id) into 2 buckets stored as orc TBLPROPERTIES('transactional'='true');
您可以按照example。