hue connect hive有错误

时间:2016-08-22 16:06:39

标签: hive hadoop2 hue

Failed to open new session: java.lang.RuntimeException:
 org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): 
User: hadoop is not allowed to impersonate cheng

用户:hadoop是我的hadoop安装使用,cheng是ubuntu用户。

我的core-site.xml已经有以下配置:

<name>hadoop.proxyuser.hive.hosts</name>
    <value>*</value>
</property>
<property>
    <name>hadoop.proxyuser.hive.groups</name>
   <value>*</value>
</property>

1 个答案:

答案 0 :(得分:0)

之前的hive用户不存在,所以我将hadoop.proxyuser.hive.groups更改为 hadoop.proxyuser.hadoop.group等。在hue config hue.ini中,设置hue用户。 所以问题就是解决方案。