[ 
https://issues.apache.org/jira/browse/AMBARI-9376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17819504#comment-17819504
 ] 

Akshesh Doshi commented on AMBARI-9376:
---------------------------------------

For any future readers, I solved the "{*}The container-executor binary should 
be set setuid.{*}" error by running _{{chmod +s bin/container-executor.sh}}_ on 
the file.

> NodeManager start failed in secure cluster (container-executor permissions 
> 0050 rather than 6050)
> -------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-9376
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9376
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>            Priority: Major
>             Fix For: 2.0.0
>
>
> **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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to