下载 http://www.java2s.com/Code/Jar/m/Downloadmysqlconnectorjavacommercial517binjar.htm

放到lib目录下,删除原本的

hive> drop table test;
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.)

在网上找了找说法不一 试了一下可能是 版本之间的差异导致的吧
之后从 oracle官网重新下载(至于怎么下载,建议注册个账号以后你会常用的)
mysql-connector-java-commercial-5.1.34-bin.jar 将jar包放入 hive的安装目录中的lib下面 之前的删掉即可,从新运行发现正常。

相关文章:

  • 2022-03-08
  • 2022-12-23
  • 2021-08-16
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-13
  • 2021-11-29
  • 2021-07-20
  • 2021-06-06
  • 2022-01-02
相关资源
相似解决方案