当前位置:   article > 正文

安装完hive,启动错误解决办法_hive启动the last packet sent successfully to the ser

hive启动the last packet sent successfully to the server was 0 milliseconds a

安装完hive时,运行没问题,后来再次开启时出现如下问题:

hive> show databases;
FAILED: Error in metadata: javax.jdo.JDOFatalDataStoreException: Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
NestedThrowables:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask


解决办法 :把hive-site.xml文件中javax.jdo.option.ConnectionURL下面用把ip改为主机名就可以了。

这是因为我用了无线网,ip改变了。。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/634755
推荐阅读
相关标签
  

闽ICP备14008679号