YARN Forum

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

  • #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.

to create new topics or reply. | New User Registration

  • 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

You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

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.