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

Hudson commented on YARN-1979:
------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #699 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/699/])
YARN-1979. TestDirectoryCollection fails when the umask is unusual. 
(Contributed by Vinod Kumar Vavilapalli and Tsuyoshi OZAWA) (junping_du: rev 
c7cee9b4551918d5d35bf4e9dc73982a050c73ba)
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestDirectoryCollection.java


> TestDirectoryCollection fails when the umask is unusual
> -------------------------------------------------------
>
>                 Key: YARN-1979
>                 URL: https://issues.apache.org/jira/browse/YARN-1979
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>             Fix For: 2.7.0
>
>         Attachments: YARN-1979.2.patch, YARN-1979.txt
>
>
> I've seen this fail in Windows where the default permissions are matching up 
> to 700.
> {code}
> -------------------------------------------------------------------------------
> Test set: org.apache.hadoop.yarn.server.nodemanager.TestDirectoryCollection
> -------------------------------------------------------------------------------
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.015 sec <<< 
> FAILURE! - in 
> org.apache.hadoop.yarn.server.nodemanager.TestDirectoryCollection
> testCreateDirectories(org.apache.hadoop.yarn.server.nodemanager.TestDirectoryCollection)
>   Time elapsed: 0.422 sec  <<< FAILURE!
> java.lang.AssertionError: local dir parent 
> Y:\hadoop-yarn-project\hadoop-yarn\hadoop-yarn-server\hadoop-yarn-server-nodemanager\target\org.apache.hadoop.yarn.server.nodemanager.TestDirectoryCollection\dirA
>  not created with proper permissions expected:<rwxr-xr-x> but was:<rwx------>
>         at org.junit.Assert.fail(Assert.java:93)
>         at org.junit.Assert.failNotEquals(Assert.java:647)
>         at org.junit.Assert.assertEquals(Assert.java:128)
>         at 
> org.apache.hadoop.yarn.server.nodemanager.TestDirectoryCollection.testCreateDirectories(TestDirectoryCollection.java:106)
> {code}
> The clash is between testDiskSpaceUtilizationLimit() and 
> testCreateDirectories().



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

Reply via email to