启动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</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.root.groups</name>
<value>*</value>
</property>