[
https://issues.apache.org/jira/browse/HADOOP-13440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akira Ajisaka updated HADOOP-13440:
-----------------------------------
Description:
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}
was:
{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}
> 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
> 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]