Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A4D3111B1 for ; Fri, 11 Apr 2014 06:55:26 +0000 (UTC) Received: (qmail 7045 invoked by uid 500); 11 Apr 2014 06:55:23 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 6122 invoked by uid 500); 11 Apr 2014 06:55:19 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 6099 invoked by uid 99); 11 Apr 2014 06:55:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2014 06:55:16 +0000 Date: Fri, 11 Apr 2014 06:55:16 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-6235) TestFileJournalManager can fail on Windows due to file locking if tests run out of order. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Chris Nauroth created HDFS-6235: ----------------------------------- Summary: TestFileJournalManager can fail on Windows due to file locking if tests run out of order. Key: HDFS-6235 URL: https://issues.apache.org/jira/browse/HDFS-6235 Project: Hadoop HDFS Issue Type: Bug Components: namenode, test Affects Versions: 2.4.0, 3.0.0 Reporter: Chris Nauroth Assignee: Chris Nauroth {{TestFileJournalManager}} has multiple tests that reuse the same storage directory: /filejournaltest2. The last test in the suite intentionally leaves a file open to test behavior of an unclosed edit log. On some environments though, tests within a suite execute out of order. In this case, a lock is still held on /filejournaltest2, and subsequent tests fail trying to delete the directory. -- This message was sent by Atlassian JIRA (v6.2#6252)