User root is not allowed to impersonate anonymous
来源:互联网 发布:mac os x 10.9 百度云 编辑:程序博客网 时间:2024/06/17 02:36
使用HiveServer2 and Beeline模式运行时,启动好HiveServer后运行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,加入如下配置项
<property> <name>hadoop.proxyuser.root.hosts</name> <value>*</value></property><property> <name>hadoop.proxyuser.root.groups</name> <value>*</value></property>
hadoop.proxyuser.root.hosts配置项名称中root部分为报错User:* 中的用户名部分
例如User: zhaoshb is not allowed to impersonate anonymous则需要将xml变更为如下格式
<property> <name>hadoop.proxyuser.zhaoshb.hosts</name> <value>*</value></property><property> <name>hadoop.proxyuser.zhaoshb.groups</name> <value>*</value></property>
- 重启hadoop
- 测试:./beeline -u 'jdbc:hive2://localhost:10000/userdb' -n username(替换为上述的用户名部分)
阅读全文
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
- bzoj 3385: [Usaco2004 Nov]Lake Counting 数池塘
- An End-to-End Trainable Neural Network...笔记
- bounding box的回归原理学习——yoloV2
- 认识hasLayout——IE浏览器css bug的一大罪恶根源 转
- Ionic3 Ios 热更新
- User root is not allowed to impersonate anonymous
- 压缩解压缩的相关命令
- 错误总结之maven之compile:非法字符: \65279
- MySQL企业常见架构与调优经验分享
- Keli5 打开Cypress CY7C68013A(51单片机)官方开发包例程
- 搜狗输入法不能正常使用?
- Failed to instantiate [java.util.List]: Specified class is an interface
- long, double类型的大小端处理
- LeetCode 264. Ugly Number II