Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 DC741D33A for ; Wed, 22 Aug 2012 05:12:39 +0000 (UTC) Received: (qmail 35099 invoked by uid 500); 22 Aug 2012 05:12:39 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 34926 invoked by uid 500); 22 Aug 2012 05:12:39 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 34828 invoked by uid 99); 22 Aug 2012 05:12:37 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2012 05:12:37 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BEECA2C04AB for ; Wed, 22 Aug 2012 05:12:37 +0000 (UTC) Date: Wed, 22 Aug 2012 16:12:37 +1100 (NCT) From: "Brandon Li (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <312364694.38487.1345612357783.JavaMail.jiratomcat@arcas> In-Reply-To: <792967382.37932.1345592918316.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HDFS-3833) TestDFSShell fails on Windows due to file concurrent read write 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/HDFS-3833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Li updated HDFS-3833: ----------------------------- Summary: TestDFSShell fails on Windows due to file concurrent read write (was: TestDFSShell fails on Windows due to file read write race) > TestDFSShell fails on Windows due to file concurrent read write > --------------------------------------------------------------- > > Key: HDFS-3833 > URL: https://issues.apache.org/jira/browse/HDFS-3833 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Affects Versions: 1-win > Reporter: Brandon Li > Assignee: Brandon Li > > TestDFSShell sometimes fails due to the race between the write issued by the test and blockscanner. Example stack trace: > {noformat} > Error Message > c:\A\HM\build\test\data\dfs\data\data1\current\blk_-7735708801221347790 (The requested operation cannot be performed on a file with a user-mapped section open) > Stacktrace > java.io.FileNotFoundException: c:\A\HM\build\test\data\dfs\data\data1\current\blk_-7735708801221347790 (The requested operation cannot be performed on a file with a user-mapped section open) > at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.(FileOutputStream.java:194) > at java.io.FileOutputStream.(FileOutputStream.java:145) > at java.io.PrintWriter.(PrintWriter.java:218) > at org.apache.hadoop.hdfs.TestDFSShell.corrupt(TestDFSShell.java:1133) > at org.apache.hadoop.hdfs.TestDFSShell.testGet(TestDFSShell.java:1231) > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira