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

to create new topics or reply. | New User Registration

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

  • Creator
  • #42813

    David Nguyen

    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 to reply to this topic. | Create Account

  • Author
  • #54414

    Raj Dasgupta

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

Viewing 1 replies (of 1 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.