Hadoop Nodemanager failing with error Can't get group information

1k Views Asked by At

I have kerberos configured Apache hadoop(2.8.5) installed. NameNode, DataNode and ResourceManager is running fine, but Nodemanager is failing to start with error:

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

file permissions:

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

container-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
1

There are 1 best solutions below

0
On BEST ANSWER

Simply remove the comment:

#configured value

from the configuration line:

yarn.nodemanager.linux-container-executor.group

on the container-executor.cfg file

It should looke like this:

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

This configuration file has had historical problem with spaces, comments, etc..