[
https://issues.apache.org/jira/browse/YARN-6060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15805483#comment-15805483
]
Miklos Szegedi commented on YARN-6060:
--------------------------------------
[~aw], I absolutely agree, theoretically Yarn supports native apps, and they
will all fail with noexec. This fix enables the mainline scenario, if the user
enabled noexec for any reason.
[~templedf], bash is hardcoded for all non-Windows scenarios in the node
manager source code:
{code}
public UnixShellScriptBuilder(){
line("#!/bin/bash");
line();
}
{code}
> 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
> Assignee: Miklos Szegedi
> Attachments: YARN-6060.000.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: [email protected]
For additional commands, e-mail: [email protected]