美文网首页
org.apache.hadoop.hive.ql.exec.S

org.apache.hadoop.hive.ql.exec.S

作者: 安申 | 来源:发表于2021-07-20 12:44 被阅读0次

背景:今天再cdp执行一个insert into 语句,报错org.apache.hadoop.hive.ql.exec.StatsTask,但是其他的表执行相同操作没有问题
在网上找了一个帖子,发现貌似是事务表的原因导致的。org.apache.hadoop.hive.ql.exec.StatsTask。MetaException(消息:无法更改事务表的统计状态)
需要设置两个参数:
set hive.txn.stats.enabled=false
set hive.stats.autogather=false
设置该配置后,错误消失,且再重启一个beeline也不会出现相同问题。

相关文章

网友评论

      本文标题:org.apache.hadoop.hive.ql.exec.S

      本文链接:https://www.haomeiwen.com/subject/auwlmltx.html