赞
踩
Could not open connection to the HS2 server. Please check the server URI and if the URI is correct, then ask the administrator to check the server status.
Error: Could not open client transport with JDBC Uri: jdbc:hive2://node03:10000: java.net.ConnectException: Connection refused (Connection refused) (state=08S01,code=0)
原因:jps查看进程,发现没有开启hive后台服务
解决办法:开启后台启动服务
(1)输入命令nohup hive --service hiveserver2 &回车
(2)jps查看进程,可以发现多了个RunJar的进程。
(3)再登录及可成功,如图:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。