表报错 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
发布评论