Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 BCD1818C52 for ; Fri, 12 Feb 2016 17:14:18 +0000 (UTC) Received: (qmail 71750 invoked by uid 500); 12 Feb 2016 17:14:18 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 71703 invoked by uid 500); 12 Feb 2016 17:14:18 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 71692 invoked by uid 99); 12 Feb 2016 17:14:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2016 17:14:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 30C392C1F62 for ; Fri, 12 Feb 2016 17:14:18 +0000 (UTC) Date: Fri, 12 Feb 2016 17:14:18 +0000 (UTC) From: "Jason Lowe (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12589) Fix intermittent test failure of TestCopyPreserveFlag 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/HADOOP-12589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15144877#comment-15144877 ] Jason Lowe commented on HADOOP-12589: ------------------------------------- Thanks for updating the patch! Looks good except for one question: why is FileSystemTestHelper#getTestRootPath logic duplicated in LocalFSContract? It looks like the only difference is test/build/data vs. target/test/data as a fallback, default location, and I'm guessing only one of them is "correct." Should we just have LocalFSContract call FileSystemTestHelper#getTestRootPath directly? > Fix intermittent test failure of TestCopyPreserveFlag > ------------------------------------------------------ > > Key: HADOOP-12589 > URL: https://issues.apache.org/jira/browse/HADOOP-12589 > Project: Hadoop Common > Issue Type: Bug > Components: test > Environment: jenkins > Reporter: Tsuyoshi Ozawa > Assignee: Masatake Iwasaki > Attachments: HADOOP-12589.001.patch, HADOOP-12589.002.patch > > > Found this issue on HADOOP-11149. > {quote} > Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.949 sec <<< FAILURE! - in org.apache.hadoop.fs.shell.TestCopyPreserveFlag > testDirectoryCpWithP(org.apache.hadoop.fs.shell.TestCopyPreserveFlag) Time elapsed: 0.616 sec <<< ERROR! > java.io.IOException: Mkdirs failed to create d0 (exists=false, cwd=/testptch/hadoop/hadoop-common-project/hadoop-common/target/test/data/2/testStat) > at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:449) > at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:435) > at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:913) > at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:894) > at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:856) > at org.apache.hadoop.fs.FileSystem.createNewFile(FileSystem.java:1150) > at org.apache.hadoop.fs.shell.TestCopyPreserveFlag.initialize(TestCopyPreserveFlag.java:72) > {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)