无法在配置单元中创建事务orc表

wswtfjt7  于 2021-07-15  发布在  Hadoop
关注(0)|答案(0)|浏览(317)

我正在尝试使用beeline在hive中创建事务orc表。

DDL:

CREATE TABLE employee_trans (
 id int,
 name string,
 age int,
 gender string)
 STORED AS ORC
 TBLPROPERTIES ('transactional'='true');

我还设置了以下属性:

SET hive.support.concurrency=true;
SET hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;

但我得到了下面的错误,

Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:The table must be bucketed and stored using an ACID compliant format (such as ORC))

有人能帮忙吗!

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题