User root is not allowed to impersonate anonymous
2017-09-27 13:56
459 查看
使用HiveServer2 and Beeline模式运行时,通过beeline命令“beeline -u jdbc:hive2://localhost:10000 -n root” 连接server时出现 java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User root is not allowed to impersonate anonymous 错误。
解决方案:
修改hadoop 配置文件 etc/hadoop/core-site.xml,加入如下配置项,标红的位置为你连接hive使用的用户,如果使用hive用户则替换为hive即可。
解决方案:
修改hadoop 配置文件 etc/hadoop/core-site.xml,加入如下配置项,标红的位置为你连接hive使用的用户,如果使用hive用户则替换为hive即可。
<property> <name>hadoop.proxyuser.root.hosts</name> <value>*</value> </property> <property> <name>hadoop.proxyuser.root.groups</name> <value>*</value> </property>
相关文章推荐
- User root is not allowed to impersonate anonymous
- Hive2- User root is not allowed to impersonate anonymous
- User root is not allowed to impersonate anonymous
- User root is not allowed to impersonate anonymous
- User root is not allowed to impersonate anonymous
- User: root is not allowed to impersonate admin
- org.apache.hadoop.ipc.RemoteException: User: root is not allowed to impersonate root
- hbase错误:Org.apache.hadoop.ipc.RemoteException:User:client is not allowed to impersonate root
- org.apache.hadoop.ipc.RemoteException: User: root is not allowed to impersonate root
- Oozie-Error: E0501: User: oozie is not allowed to impersonate root [ Edited ]
- livy出错:User: livy is not allowed to impersonate cloudera
- Host is not allowed to connect to this MySQL server 和 access denied for user 'root'@'localhost' 解决办法
- Hive:hive is not allowed to impersonate anonymous
- root is not allowed to impersonate root
- Jenkins部署:The username you provided is not allowed to use the text-based Tomcat Manager (error 403)
- Proxy account failing to run SSIS Error (Proxy (11) is not allowed for subsystem "SSIS" and user "AB\testuser ".
- MySQL workbench 中修改"Host 'X' is not allowed to connect to this MySQL server"] with root ca
- The username you provided is not allowed to use the text-based Tomcat Manager (error 403)
- "Host 'USER-XXXX' is not allowed to connect to this MySQL server"
- hadoop is not allowed to impersonate hadoop