DBeaver beeline 连接hive Unauthorized connection for super-user
Error: Could not open client transport with JDBC Uri: jdbc:hive2://big-data-3:10000: Failed to open new session: java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): Unauthorized connection for super-user: hive from IP 192.168.30.97 (state=08S01,code=0)
Beeline version 3.1.2 by Apache Hive
解决方案:
hive-site.xml增加
<property>
<name>hive.server2.enable.doAs</name>
<value>false</value>
</property>
FAILED: Hive Internal Error: java.lang.IllegalArgumentException(The value of property yarn.resourcemanager.zk-address must not be null)
java.lang.IllegalArgumentException: The value of property yarn.resourcemanager.zk-address must not be null
hive-site.xml增加
<property>
<name>hadoop.zk.address</name>
<value>jstorm-1:2181,jstorm-2:2181,jstorm-3:2181</value>
</property>