You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2015/01/28 17:13:33 UTC
Review Request 30368: NodeManager start failed in secure cluster
(container-executor permissions 0050 rather than 6050)
-----------------------------------------------------------
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
Re: Review Request 30368: NodeManager start failed in secure cluster
(container-executor permissions 0050 rather than 6050)
Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30368/#review70015
-----------------------------------------------------------
Ship it!
Ship It!
- Dmitro Lisnichenko
On Jan. 28, 2015, 4:13 p.m., Andrew Onischuk wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/30368/
> -----------------------------------------------------------
>
> (Updated Jan. 28, 2015, 4:13 p.m.)
>
>
> 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
>
>