Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to start YARN - NodeManager on role NodeManager

SOLVED Go to solution

Re: Unable to start YARN - NodeManager on role NodeManager

Explorer

Hi Li,

 

This is what I am getting:

 

[root@optim-rhel72-uppu ~]# id yarn
uid=1007(yarn) gid=1010(hadoop) groups=1010(hadoop)

 

Thanks,

Tulasi

Re: Unable to start YARN - NodeManager on role NodeManager

Rising Star

Is nosuid set on the mount point?  I had a simialr issue documented here: http://community.cloudera.com/t5/Cloudera-Manager-Installation/URGENT-Cluster-unavailable-after-upgr...

Re: Unable to start YARN - NodeManager on role NodeManager

Explorer

This is the content of my /etc/fstab file

-----------------------------------

/dev/mapper/rhel_rhel72-root /                       xfs     defaults        0 0
UUID=d762b842-5c87-4e4d-bc0e-7a6bad357604 /boot                   xfs     defaults        0 0
/dev/mapper/rhel_rhel72-home /home                   xfs     defaults        0 0
/dev/mapper/rhel_rhel72-swap swap                    swap    defaults        0 0

 

 -----------------------------------

Do I need to change anything?

 

Thanks.

Re: Unable to start YARN - NodeManager on role NodeManager

Community Manager

Hi @Tulasi,

 

Sorry for my late reply. From the output you sent below:

 

[root@optim-rhel72-uppu ~]# id yarn
uid=1007(yarn) gid=1010(hadoop) groups=1010(hadoop)

 

This looks a little different than my test cluster. Can you please do this?

usermod -g yarn yarn
usermod -a -G hadoop yarn

 

Also, please paste the content of this file:

/opt/cloudera/parcels/CDH/meta/permissions.json

 

Thanks,

Li 

Li Wang, Technical Resolution Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

Highlighted

Re: Unable to start YARN - NodeManager on role NodeManager

Explorer

Hi Li,

 

Thanks for being on top of it and helping me in solving the problem.

 

usermod -g yarn yarn

usermod -a -G hadoop yarn

 

Above two commands fixed my problem.

[root@optim-rhel72-uppu meta]# id yarn
uid=1007(yarn) gid=1008(yarn) groups=1008(yarn),1010(hadoop)

 

I have no idea how yarn user permissions are changed, all that I am following is that what have been suggested in cloudera instructions to enable encryption.

 

Thanks to all of the folks for providing suggestions.

 

Problems like this sucks lot of time in identifying where to fix and I would request cloudera to improve such situations.

 

Thanks,

Tulasi

 

 

Re: Unable to start YARN - NodeManager on role NodeManager

Community Manager

Hi @Tulasi,

 

Greate to hear the issue got resolved! I will report internally on this to our documentation team to see how we can improve on it.

 

Thanks,

Li

Li Wang, Technical Resolution Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

Re: Unable to start YARN - NodeManager on role NodeManager

Expert Contributor

Hi @Tulasi,

 

Try to kill running process on port used by Yarn Services and then Try to restart.

 

Regards,

Manu.

Re: Unable to start YARN - NodeManager on role NodeManager

Explorer
Hi Manu, I tried your suggestion and it didn't work. Thanks, Tulasi