Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 252AA17DEC for ; Fri, 3 Oct 2014 14:15:40 +0000 (UTC) Received: (qmail 53437 invoked by uid 500); 3 Oct 2014 14:15:40 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 53399 invoked by uid 500); 3 Oct 2014 14:15:39 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 53386 invoked by uid 99); 3 Oct 2014 14:15:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2014 14:15:39 +0000 Date: Fri, 3 Oct 2014 14:15:39 +0000 (UTC) From: "Hudson (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1979) TestDirectoryCollection fails when the umask is unusual MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14158018#comment-14158018 ] Hudson commented on YARN-1979: ------------------------------ SUCCESS: Integrated in Hadoop-Hdfs-trunk #1890 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1890/]) YARN-1979. TestDirectoryCollection fails when the umask is unusual. (Contributed by Vinod Kumar Vavilapalli and Tsuyoshi OZAWA) (junping_du: rev c7cee9b4551918d5d35bf4e9dc73982a050c73ba) * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestDirectoryCollection.java * hadoop-yarn-project/CHANGES.txt > 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: but was: > 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)