有一段时间没有关集群了。今天由于业务需求需要重启集群,结果在使用DataGrip连接hive数据库的时候报了这个异常!

java.net.ConnectException: Connection refused: connect.

        也就是连接失败。

        解决方案也很简单,我们只需要开启Hive的远程连接即可,hive --service hiveserver2
hive远程连接失败?Could not open client transport with JDBC Uri: jdbc:hive2:异常解决
        当使用远程连接工具连接Hive成功时,控制台会打印ok

hive远程连接失败?Could not open client transport with JDBC Uri: jdbc:hive2:异常解决
        那么,你们的问题解决了么?hive远程连接失败?Could not open client transport with JDBC Uri: jdbc:hive2:异常解决

相关文章:

  • 2022-01-06
  • 2021-12-22
  • 2021-11-25
  • 2021-12-08
  • 2021-07-21
  • 2021-12-16
  • 2022-02-28
猜你喜欢
  • 2021-05-24
  • 2021-12-09
  • 2021-10-18
  • 2021-11-08
  • 2021-10-22
  • 2021-12-15
  • 2021-04-10
相关资源
相似解决方案