[
https://issues.apache.org/jira/browse/AMBARI-17633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Masahiro Tanaka updated AMBARI-17633:
-------------------------------------
Description:
When installing YARN+MapReduce2, I got a WARN message in nodemanager log like
below
{code}
2016-07-09 06:30:21,865 WARN logaggregation.LogAggregationService
LogAggregationService.java:230 - Remote Root Log Dir [/app-logs] already exist,
but with incorrect permissions. Expected: [rwxrwxrwt], Found: [rwxrwxrwx]. The
cluster may have problems with multiple users.
{code}
I think the cause of this WARN is
[this](https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py#L115).
We should add stickybit to {{yarn.nodemanager.remote-app-log-dir}}.
was:
When installing YARN+MapReduce2, I got a WARN message in nodemanager log like
below
{{
2016-07-09 06:30:21,865 WARN logaggregation.LogAggregationService
LogAggregationService.java:230 - Remote Root Log Dir [/app-logs] already exist,
but with incorrect permissions. Expected: [rwxrwxrwt], Found: [rwxrwxrwx]. The
cluster may have problems with multiple users.
}}
I think the cause of this WARN is
[this](https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py#L115).
We should add stickybit to {{yarn.nodemanager.remote-app-log-dir}}.
> yarn.nodemanager.remote-app-log-dir
> -----------------------------------
>
> Key: AMBARI-17633
> URL: https://issues.apache.org/jira/browse/AMBARI-17633
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: trunk
> Environment: CentOS7.2 Ambari2.4, HDP2.4
> Reporter: Masahiro Tanaka
> Assignee: Masahiro Tanaka
>
> When installing YARN+MapReduce2, I got a WARN message in nodemanager log like
> below
> {code}
> 2016-07-09 06:30:21,865 WARN logaggregation.LogAggregationService
> LogAggregationService.java:230 - Remote Root Log Dir [/app-logs] already
> exist, but with incorrect permissions. Expected: [rwxrwxrwt], Found:
> [rwxrwxrwx]. The cluster may have problems with multiple users.
> {code}
> I think the cause of this WARN is
> [this](https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py#L115).
> We should add stickybit to {{yarn.nodemanager.remote-app-log-dir}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)