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

Allen Wittenauer commented on YARN-6060:
----------------------------------------

bq. should we create a JIRA to make /bin/bash configurable in 
UnixShellScriptBuilder?

Yes, please. /bin/bash is hard-coded in a few places in the Java code and they 
should all be changed to either be /usr/bin/env bash or pull from a system 
property/configuration entry so that the shell code can define where exactly 
bash is located on startup.

> Linux container executor fails to run container on directories mounted as 
> noexec
> --------------------------------------------------------------------------------
>
>                 Key: YARN-6060
>                 URL: https://issues.apache.org/jira/browse/YARN-6060
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: nodemanager, yarn
>            Reporter: Miklos Szegedi
>         Attachments: YARN-6060.000.patch, YARN-6060.001.patch
>
>
> If node manager directories are mounted as noexec, LCE fails with the 
> following error:
> Launching container...
> Couldn't execute the container launch file 
> /tmp/hadoop-<user>/nm-local-dir/usercache/<user>/appcache/application_1483656052575_0001/container_1483656052575_0001_02_000001/launch_container.sh
>  - Permission denied



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to