执行HIVE时报错如下:This command is not allowed on an ACID table adb1.xx_table with a non-ACID transaction manager
原因剖析:
创建Hive表格式为ORC格式,当执行查询操作时会以上错误信息。
解决方案:
在执行查询等操作时加上两个参数配置,即可
set hive.support.concurrency=true;
set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;