[Hive]关于Hive的启动问题

业务中遇到用户轨迹工程脚本报错,关联到Hive 0.10.0至0.12.0的已知bug。通过检查集群上Hive配置,发现多个版本并存。通常使用`hive`命令启动,但需确定实际使用的HIVE_HOME。为解决bug,选择启动修复问题的0.13版本Hive。
摘要由CSDN通过智能技术生成

业务背景

用户轨迹工程脚本最近经常报错,报错如下:

SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
FAILED: Error in metadata: MetaException(message:java.lang.RuntimeException: commitTransaction was called but openTransactionCalls = 0. This probably indicates that there are unbalanced calls to openTransaction/commitTransaction)
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

搜了下发现,这是hive 0.10.0, 0.11.0, 0.12.0版本的bug,描述如下:
https://issues.apache.org/jira/browse/HIVE-4996

分析

查看了下集群上hive的配置文件,发现有这些:

$locate hive-site.xml
/etc/hive/conf.cloudera.hive/hive-site.xml
/etc/hive/conf.dist/hive-site.xml
/etc/hive/conf.dist/hive-site.xml_back
/etc/hive-hcatalog/conf.dist/proto-hive-site.xml
/home/pms/db_engine/apache-hive-0.13.1-bin/conf/hive-site.xml
/home/pms/db_engine/apache-hive-0.13.1-bin/hcatalog/etc/hcatalog/proto-hive-site
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值