hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Vasudev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6060) Linux container executor fails to run container on directories mounted as noexec
Date Mon, 09 Jan 2017 07:05:58 GMT

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

Varun Vasudev commented on YARN-6060:
-------------------------------------

[~miklos.szegedi@cloudera.com] - the patch attached will make debugging failures a lot harder.
For example, Slider localizes the users application code and then launches the application.
With your patch in place, the slider agent will get launched and then subsequent launches
will fail. To make things worse, MR apps will run fine. Today, all apps will fail making it
easier to debug. 

I agree with [~aw] - directories mounted with noexec is a bad configuration.

> 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, 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message