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 07E8111EB6 for ; Thu, 24 Apr 2014 00:52:21 +0000 (UTC) Received: (qmail 30551 invoked by uid 500); 24 Apr 2014 00:52:15 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 30458 invoked by uid 500); 24 Apr 2014 00:52:15 -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 30448 invoked by uid 99); 24 Apr 2014 00:52:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Apr 2014 00:52:14 +0000 Date: Thu, 24 Apr 2014 00:52:14 +0000 (UTC) From: "Vinod Kumar Vavilapalli (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Vinod Kumar Vavilapalli created YARN-1979: --------------------------------------------- Summary: 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 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.2#6252)