启动Hadoop后,输入hive
卡在以下:
Logging initialized using configuration in jar:file:/home/czy/modules/hive-1.2/lib/hive-common-1.2.0.jar!/hive-log4j.properties
或输入hiveserver2 &
beeline -u jdbc:hive2://master:10000 -n xxx
Error: Could not open client transport with JDBC Uri: jdbc:hive2://114.215.xxx.xxx:10000/default: java.net.ConnectException: Connection refused 拒绝访问 (state=08S01,code=0)
在core-site.xml中添加以下权限
<property>
<name>hadoop.proxyuser.root.hosts

在启动Hadoop集群后,尝试运行Hive时遇到卡住的问题,且使用hiveserver2 & 或者通过Beeline连接jdbc:hive2://localhost:10000时遭到拒绝访问。为解决此问题,需要检查并更新core-site.xml配置,添加相应的权限设置。
最低0.47元/天 解锁文章
1万+

被折叠的 条评论
为什么被折叠?



