Error: Could not open client transport with JDBC Uri: jdbc:hive2://hadoop102:10000: Failed to open new session: java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException)
问题如上所述:
解决方案:
配置hadoop的core-site.xml参数
<property>
<name>hadoop.proxyuser.XXX.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.XXX.groups</name>
<value>*</value>
</property>
XXX:代表用户名,*代表可以在任何的host机器和任何group上登录
配置完后,重启haddoop
效果如下:
配置完后,重启haddoop
效果如下: