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 A3B38179E1 for ; Wed, 21 Oct 2015 21:29:28 +0000 (UTC) Received: (qmail 71135 invoked by uid 500); 21 Oct 2015 21:29:28 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 70901 invoked by uid 500); 21 Oct 2015 21:29:28 -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 70800 invoked by uid 99); 21 Oct 2015 21:29:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2015 21:29:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EEFC82C1F7D for ; Wed, 21 Oct 2015 21:29:27 +0000 (UTC) Date: Wed, 21 Oct 2015 21:29:27 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-11880) aw jira sub-task testing, ignore 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-11880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14967975#comment-14967975 ] Chris Nauroth commented on HADOOP-11880: ---------------------------------------- Got it. Thanks! bq. Either revert with a hard-coded path and expect parallel tests to fail, or extend the dfs builder to add an operation to set the subdir, which would be retained over a test case/test suite. I just commented in HDFS-9263 that the Maven build, when running tests in parallel mode, automatically creates a separate test directory for each concurrent test process to use. Thus, the isolation is achieved at the Maven build level, and there is no requirement for {{MiniDFSCluster}} itself to use a unique workspace. Of course, that only holds true if all tests are playing nice and using the properties passed down by Maven to determine their test path. I'd like to explore fixing this by backtracing from the bad paths shown in the RAT report to try to find the offending tests. Given that I think {{MiniDFSCluster#getBaseDirectory}} is correct already, I suspect we'll find the problems are in tests that don't use {{MiniDFSCluster}}, or in tests that explicitly configure their own data directories instead of relying on {{MiniDFSCluster#getBaseDirectory}}. I'm reluctant to revert the test parallelization. If it's more urgent to complete this cutover first though, then I understand. > aw jira sub-task testing, ignore > -------------------------------- > > Key: HADOOP-11880 > URL: https://issues.apache.org/jira/browse/HADOOP-11880 > Project: Hadoop Common > Issue Type: Sub-task > Reporter: Allen Wittenauer > Attachments: HDFS-9263-001.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)