本文介绍了UserGroupInformation:没有用户组可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在mapreduce中提交一个远程作业,但是我得到错误[1]。
我甚至在远程hadoop的hdfs-site.xml中设置了内容[2],并且更改了权限[3],但问题仍然存在。
客户端是xeon,超级用户是xubuntu。
如何添加远程用户权限以在mapreduce中提交?
[1]
如何为xeon设置组? 2015-04-23 05:57:35,648 WARN org.apache.hadoop.security.UserGroupInformation:没有可用于用户xeon的组
[2]
< property>
<名称> dfs.web.ugi< / name>
< value> xeon,webuser,webgroup< / value>
< / property>
[3]
2041 hdfs dfs -chown -R xeon:supergroup / user / xeon
2045 hdfs dfs -chown -R xeon:supergroup / tmp / hadoop-yarn / staging / xeon /
2039 hdfs dfs -chmod -R 777 / user / xeon
2053 hdfs dfs -chmod -R 777 / tmp / hadoop-yarn / staging / xeon
-
解决方案 div>
添加用户& RM主机上的群组。
I am trying to submit a remote job in mapreduce, but I get the error [1].I even have set in hdfs-site.xml in the remote hadoop the content [2], and changed permissions [3], but the problem remains.
The client is xeon, and the superuser is xubuntu.
How I add a remote user permission to submit in mapreduce? How I set a group for xeon?
[1]
2015-04-23 05:57:35,648 WARN org.apache.hadoop.security.UserGroupInformation: No groups available for user xeon
[2]
<property>
<name>dfs.web.ugi</name>
<value>xeon,webuser,webgroup</value>
</property>
[3]
2041 hdfs dfs -chown -R xeon:supergroup /user/xeon
2045 hdfs dfs -chown -R xeon:supergroup /tmp/hadoop-yarn/staging/xeon/
2039 hdfs dfs -chmod -R 777 /user/xeon
2053 hdfs dfs -chmod -R 777 /tmp/hadoop-yarn/staging/xeon
--
解决方案
Add users & groups on RM host.
这篇关于UserGroupInformation:没有用户组可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!