set hive.support.concurrency=true;
set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;
在执行 insert 之前先执行以上两条 set 命令就不会报错了,执行结果如下:
有关 ACID 表的相关请查阅:Attempt to do update or delete using transaction manager that does not support these operations