赞
踩
Hive连接报错:
Could not open client transport with JDBC Uri: jdbc:hive2://192.168.216.128:10000: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
Connection refused: connect
Connection refused: connect
解决方法:查看hiveserver2是否启动成功,查看10000端口
[root@bigdata1 lib]# netstat -anp|grep 10000
没有输出,确定是hiveserver2没有启动成功。
启动hiveserver2
如下所示,hiveserver2会启动几个Hive Session ID
[root@bigdata1 bin]# /moudle/hive-3.1.2/bin/hiveserver
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。