0

我已经安装了 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
4

1 回答 1

2

只需删除评论:

#配置值

从配置行:

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

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

于 2019-06-30T14:09:03.897 回答