Hive [ 08S01] Could not open client transport with JDBC Uri: jdbc:hive2://hadoop102:10000: java.net

连接hive时出现了一个错误:
[ 08S01] Could not open client transport with JDBC Uri: jdbc:hive2://hadoop102:10000: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect.

Hive [ 08S01] Could not open client transport with JDBC Uri: jdbc:hive2://hadoop102:10000: java.net_第1张图片

 之前一直好好的,断了重新连接或者填写密码都不行,中间挂起了一次虚拟机。查询后发现可能是hiveserver2没有开启。

开启hiveserver2:

hive --service hiveserver2

重新测试。

Hive [ 08S01] Could not open client transport with JDBC Uri: jdbc:hive2://hadoop102:10000: java.net_第2张图片

可以了。

参考自:

(1条消息) DataGrip连接hive报错:[ 08S01] Could not open client transport with JDBC Uri: jdbc:hive2://hadoop102:1000_tutouxiaocaiji的博客-CSDN博客_hive08s01

你可能感兴趣的:(Error集锦,大数据,大数据,hive,数据仓库)