hive - Hive ACID 表抛出错误 FAILED: UnsupportedOperationException openTxn is not supported in aws EMR
问题描述
我尝试在AWS EMR 6.3.0中创建 Hive ACID 表。我已设置必要的参数以在配置单元托管表上启用 ACID 属性。设置属性后和创建表时遇到以下错误 FAILED: UnsupportedOperationException openTxn is not supported
请找到我遵循的步骤
步骤1:
set hive.support.concurrency = true;
set hive.enforce.bucketing = true;
set hive.exec.dynamic.partition.mode = nonstrict;
set hive.txn.manager =org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;
set hive.compactor.initiator.on = true;
set hive.compactor.worker.threads = 1;
第2步:
hive>
>
> create table Sample_Table2(
> col1 Int,
> col2 String,
> col3 String)
> clustered by (col3) into 3 buckets
> stored as orc
> TBLPROPERTIES ('transactional'='true');
FAILED: UnsupportedOperationException openTxn is not supported
解决方案
推荐阅读
- ios - 迅速。如何先滚动滚动视图(TableView)以将其移动到全屏,然后滚动内容本身
- c# - 如何在 .NET Core 中实现自定义模型验证器
- sql - 创建也有子查询的动态查询
- python - 如何在状态机中做出决定
- excel - 列有 .Rowsource 吗?
- r - 使用 stat_summary 计算两个不同分组的平均值并绘制在一个图中
- redis - 计算 Redis 中的飞行消息
- ios - 正确使用后台获取完成处理程序
- docker - 在 Minikube 中运行本地 docker 镜像
- windows - 如何确定哪个 Windows 进程是管理当前进程输出的“音频会话”?