hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4579) Allow DefaultContainerExecutor container log directory permissions to be configurable
Date Wed, 13 Jan 2016 23:08:39 GMT

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

Robert Kanter commented on YARN-4579:
-------------------------------------

Makes sense.  One final thing:
- Can you replace {{for (int i = 0; i < permissionsArray.length; ++i) {}} with a foreach-style
loop?

> Allow DefaultContainerExecutor container log directory permissions to be configurable
> -------------------------------------------------------------------------------------
>
>                 Key: YARN-4579
>                 URL: https://issues.apache.org/jira/browse/YARN-4579
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: yarn
>    Affects Versions: 2.8.0
>            Reporter: Ray Chiang
>            Assignee: Ray Chiang
>              Labels: supportability
>         Attachments: YARN-4579.001.patch, YARN-4579.002.patch, YARN-4579.003.patch, YARN-4579.004.patch,
YARN-4579.005.patch
>
>
> By default, container directory permissions are hardcoded to this member in DefaultContainerExecutor:
>   static final short LOGDIR_PERM = (short)0710;
> There are some cases where less restrictive permissions are desired.  Make this configurable.



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

Mime
View raw message