hive 建表报错 For direct MetaStore DB connections, we don't support retries at the client level

编程入门 行业动态 更新时间:2024-10-22 17:18:55

hive 建<a href=https://www.elefans.com/category/jswz/34/1457396.html style=表报错 For direct MetaStore DB connections, we don't support retries at the client level"/>

hive 建表报错 For direct MetaStore DB connections, we don't support retries at the client level

hive 已经有建表语句,然后导入建表, 以下是过程

[root@master exercise]# hive -f /opt/exercise/visits.hive
Logging initialized using configuration in jar:file:/opt/apache-hive-1.2.2-bin/lib/hive-common-1.2.2.jar!/hive-log4j.properties FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message: For direct MetaStore DB connections, we don't support retries at the client level.)

这个是因为 hive 用到的mysql 连接包版本不匹配的原因。 我安装的mysql 是 5.6.33,从网络上下载了一个mysql-connector- Java -5.1.36.jar,替换,重启hive,问题解决。


我下载了mysql-connector-java-5.1.25-bin 没用 !!!

更多推荐

hive 建表报错 For direct MetaStore DB connections, we don't support retries at

本文发布于:2024-02-17 03:57:57,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1692555.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:表报   MetaStore   DB   hive   direct

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!