gpt4 book ai didi

Hadoop Nodemanager 因错误而失败无法获取组信息

转载 作者:可可西里 更新时间:2023-11-01 16:35:01 25 4
gpt4 key购买 nike

我已经安装了 kerberos 配置的 Apache hadoop(2.8.5)。 NameNode、DataNode 和 ResourceManager 运行良好,但 Nodemanager 启动失败并出现错误:

Can't get group information for hadoop#configured value of yarn.nodemanager.linux-container-executor.group - Success.

文件权限:

container-executor.cfg: -rw------- 1 root hadoop
container-executor: ---Sr-s--- 1 root hadoop

容器执行器.cfg

yarn.nodemanager.local-dirs=/hadoop/data/yarn/local
yarn.nodemanager.linux-container-executor.group=hadoop#configured value
of yarn.nodemanager.linux-container-executor.group
banned.users=hdfs,yarn,mapred,bin,root#comma separated list of users who can not run applications
min.user.id=1000#Prevent other super-users

最佳答案

简单地删除评论:

#configured value

来自配置行:

yarn.nodemanager.linux-container-executor.group

container-executor.cfg 文件上

它应该是这样的:

yarn.nodemanager.local-dirs=/hadoop/data/yarn/local
yarn.nodemanager.linux-container-executor.group=hadoop
of yarn.nodemanager.linux-container-executor.group
banned.users=hdfs,yarn,mapred,bin,root
min.user.id=1000

此配置文件在空格、注释等方面存在历史问题。

关于Hadoop Nodemanager 因错误而失败无法获取组信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56821422/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com