Home Forums YARN permission on /usr/lib/hadoop-yarn/bin/container-executor incorrect after upgrad

This topic contains 1 reply, has 2 voices, and was last updated by  Raj Dasgupta 2 months, 1 week ago.

  • Creator
    Topic
  • #42813

    David Nguyen
    Member

    This probably only applies to other folks who are running yarn as a different user than default.

    I upgraded from HDP 1.3 -> 2.0 via manual RPM upgrade. One thing I will mention to hopefully save others some time is that all of my yarn nodes were coming up as “UNHEALTHY”. The reason stated was this via the UI:

    ERROR check containerexecutor, OK: disks ok,

    It turns out, that health check was returning ERROR because the perms on /usr/lib/hadoop-yarn/bin/container-executor looked like this:

    —Sr-s— 1 root yarn 40K Oct 17 17:40 /usr/lib/hadoop-yarn/bin/container-executor

    but needed to be this:

    —Sr-s— 1 root hadoop 40K Oct 17 17:40 /usr/lib/hadoop-yarn/bin/container-executor

    Simple chown/chmod fixed the problem and the cluster righted itself.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #54414

    Raj Dasgupta
    Participant


    chown root:hadoop /usr/lib/hadoop-yarn/bin/container-executor
    chmod -R 6050 /usr/lib/hadoop-yarn/bin/container-executor

    Collapse
Viewing 1 replies (of 1 total)