hadoop is not allowed to impersonate hadoop
2017-03-31 14:33
337 查看
原因:用户代理未生效。检查core-site.xml文件是否正确配置。
增加以上配置后,无需重启集群,可以直接用hadoop管理员账号重新加载这两个属性值,命令为:
如果集群配置了HA,需要在为主备namenode(node000和node001)同时加载这两个属性(只加载一个不行),命令如下:
<property> <name>hadoop.proxyuser.hadoop.hosts</name> <value>*</value> </property> <property> <name>hadoop.proxyuser.hadoop.groups</name> <value>hadoop</value> </property>
增加以上配置后,无需重启集群,可以直接用hadoop管理员账号重新加载这两个属性值,命令为:
bin/hdfs dfsadmin –refreshSuperUserGroupsConfiguration bin/yarn rmadmin –refreshSuperUserGroupsConfiguration
如果集群配置了HA,需要在为主备namenode(node000和node001)同时加载这两个属性(只加载一个不行),命令如下:
bin/hadoop dfsadmin -fs hdfs://test101:9000 –refreshSuperUserGroupsConfiguration bin/hadoop dfsadmin -fs hdfs://test102:9000 –refreshSuperUserGroupsConfiguration
相关文章推荐
- 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
- org.apache.hadoop.ipc.RemoteException: User: root is not allowed to impersonate root
- Hive:hive is not allowed to impersonate anonymous
- Oozie-Error: E0501: User: oozie is not allowed to impersonate root [ Edited ]
- Hive2- User root is not allowed to impersonate anonymous
- livy出错:User: livy is not allowed to impersonate cloudera
- User root is not allowed to impersonate anonymous
- User root is not allowed to impersonate anonymous
- User: root is not allowed to impersonate admin
- User root is not allowed to impersonate anonymous
- root is not allowed to impersonate root
- User root is not allowed to impersonate anonymous
- User root is not allowed to impersonate anonymous
- cvc-complex-type.3.2.2: Attribute 'singleton' is not allowed to appear in element 'bean'
- 使用FABridge时,出现You are trying to call recursively into the Flash Player which is not allowed…错误的处理
- 转 Error No. 1130 Host '*.*.*.*' is not allowed to connect to this MySQL server
- Host 'A'is not allowed to connect to this MySQL server
- 如何解决客户端与服务器端的连接(mysql) :"xxx.xxx.xxx.xxx" is not allowed to connect to this mysql server.
- is not allowed to connect to this mysql server