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

Tao Yang commented on HADOOP-13440:
-----------------------------------

Hi [~ajisakaa]. There is a problem in YARN-5749 occurred by this solution.  
FileContext is used with different umask value in Multiple services use 
FileContext objects with different umask, therefor they may affect each other 
through changing umask in some scenarios. Could you give some suggestions to 
solve this problem?  Thank you.

> FileContext does not react on changing umask via configuration
> --------------------------------------------------------------
>
>                 Key: HADOOP-13440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13440
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Yufei Gu
>            Assignee: Akira Ajisaka
>             Fix For: 3.0.0-alpha2
>
>         Attachments: YARN-5425.00.patch
>
>
> After HADOOP-13073, RawLocalFileSystem does react on changing umask but 
> FileContext does not react on changing umask via configuration. 
> TestDirectoryCollection fails by the inconsistent behavior.
> {code}
> java.lang.AssertionError: local dir parent not created with proper 
> permissions expected:<rwxr-xr-x> but was:<rwx------>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at 
> org.apache.hadoop.yarn.server.nodemanager.TestDirectoryCollection.testCreateDirectories(TestDirectoryCollection.java:113)
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to