hadoop nodemanager失败并出现错误,无法获取组信息

col17t5w  于 2021-05-29  发布在  Hadoop
关注(0)|答案(1)|浏览(564)

我已经安装了kerberos配置的apachehadoop(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

容器-executor.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
fcipmucu

fcipmucu1#

只需删除注解:

配置值

从配置行:
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

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

相关问题