ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 30368: NodeManager start failed in secure cluster (container-executor permissions 0050 rather than 6050)
Date Wed, 28 Jan 2015 16:13:33 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30368/
-----------------------------------------------------------

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARI-9376
    https://issues.apache.org/jira/browse/AMBARI-9376


Repository: ambari


Description
-------

**Steps to Reproduce:**

  * Installed 10 node cluster
  * While going through security wizard, nodemanager start failed on 6/7 hosts with same error
message in nodemanager log.  
org.apache.hadoop.util.Shell$ExitCodeException: Invalid permissions on
container-executor binary.  
**The container-executor binary should be set setuid.**  
Service NodeManager failed in state INITED; cause:
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Failed to initialize
container executor

**ls -ltrh /usr/lib/hadoop-yarn/bin/container-executor**  
\----r-x---. 1 root hadoop 36K Apr 15 02:52 /usr/lib/hadoop-yarn/bin
/container-executor

On One Host where nodemanager came up:  
**ls -ltrh /usr/lib/hadoop-yarn/bin/container-executor**  
\--<del>Sr-s</del>\--. 1 root hadoop 40K Apr 15 02:52 /usr/lib/hadoop-yarn/bin
/container-executor


Diffs
-----

  ambari-common/src/main/python/resource_management/core/providers/system.py 6023e60 

Diff: https://reviews.apache.org/r/30368/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message