hive问题: For direct MetaStore DB connections, we don't support retries at the client level

已经配置好hive,mysql作为元数据的数据库。在hive中执行drop语句出错:

drop table mytest;

错误提示如下:

FAILED: SemanticException Unable to fetch table ljz. For direct MetaStore DB connections, we don't support retries at the client level.

 我用的mysql-connctor版本是mysql-connector-java-5.1.17.jar

后来找到一个mysql-connector-java-5.1.34-bin.jar版本的, 将前者替换,重启hive后执行drop语句,竟然可以了。

神奇了。

posted @ 2018-01-09 16:11  Lzhong  阅读(2609)  评论(0编辑  收藏  举报