User root is not allowed to impersonate anonymous
来源:互联网 发布:知世与艾利欧结婚甜文 编辑:程序博客网 时间:2024/06/02 04:20
使用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即可。
<property> <name>hadoop.proxyuser.root.hosts</name> <value>*</value></property><property> <name>hadoop.proxyuser.root.groups</name> <value>*</value></property>
阅读全文
0 0
- User root is not allowed to impersonate anonymous
- 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
- Hive:hive is not allowed to impersonate anonymous
- org.apache.hadoop.ipc.RemoteException: User: root is not allowed to impersonate root
- 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
- Oozie-Error: E0501: User: oozie is not allowed to impersonate root [ Edited ]
- hive启动beeline连接报错: User: xxx is not allowed to impersonate anonymous (state=08S01,code=0)
- hadoop is not allowed to impersonate hadoop
- Host is not allowed to connect to this MySQL server 和 access denied for user 'root'@'localhost' 解决办法
- codesign returns User Interaction is not allowed
- Host 'USER-20141212QO' is not allowed to connect to this MySQL server
- "Host 'USER-XXXX' is not allowed to connect to this MySQL server"
- host is not allowed to connect mysql
- 2018北邮计算机、网研、网安803考研报考建议
- 使用Sqoop导入导出关系型数据库数据
- JAVA多线程和并发基础面试题
- hdu 3062 Party(2-sat)
- Fiddle 不能抓取全部的HTTP包
- User root is not allowed to impersonate anonymous
- GDB教程
- iptables
- 我的 Java 面试(编辑中)
- 抽象类与接口
- CFITSIO安装及安装成功简单程序测试(Ubuntu操作系统下)
- 查看看防火墙状态
- oracle11g password expire和account locked的解决办法
- UE4-HUD类