User root is not allowed to impersonate anonymous
来源:互联网 发布:淘宝店铺2017招牌图片 编辑:程序博客网 时间:2024/05/21 08:59
使用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
- sysfs系统--文件和目录的创建
- Android上展示word、excel、pdf、ppt~
- ios-自动布局约束的问题
- Python--ImportError: No module named media
- android开发笔记之APK反编译(二) jadx
- User root is not allowed to impersonate anonymous
- 用户界面交互计算圆的周长和面积
- oracle合并列的函数wm_concat的使用详解
- java之接口与抽象
- 手机通过MAC热点绑定HOST访问指定IP的方法
- Windows下eclipse配置maven
- 程序员如何成为一名自由职业者?
- 非常简单的猜数字游戏
- 最强 Android Studio 使用小技巧和快捷键