Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 76806 invoked from network); 4 Nov 2010 23:18:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Nov 2010 23:18:34 -0000 Received: (qmail 82902 invoked by uid 500); 4 Nov 2010 23:19:05 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 82763 invoked by uid 500); 4 Nov 2010 23:19:04 -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 82755 invoked by uid 99); 4 Nov 2010 23:19:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 23:19:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 23:19:03 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA4NIh4R025695 for ; Thu, 4 Nov 2010 23:18:43 GMT Message-ID: <9758274.18611288912723145.JavaMail.jira@thor> Date: Thu, 4 Nov 2010 19:18:43 -0400 (EDT) From: "Sanjay Radia (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-7015) RawLocalFileSystem#listStatus does not deal with a directory whose entries are changing ( e.g. in a multi-thread or multi-process environment) In-Reply-To: <22734323.181701288644444790.JavaMail.jira@thor> 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-7015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928419#action_12928419 ] Sanjay Radia commented on HADOOP-7015: -------------------------------------- We don't have good MT tests for our file systems and they are not easy to write. However, the loadGenerator (an MT filesystem load generator) is a good MT tests for the basic file system operations; I discovered this bug when running it and it now passes with my patch. I think we should incorporate the loadGenerator as part of our commit tests (since it runs for a while); I was planning to file a jira to do that. Would incorporating the loadGenerator as part of our commit tests be good enough? (Will fix the Arrays#copyOf ....). > RawLocalFileSystem#listStatus does not deal with a directory whose entries are changing ( e.g. in a multi-thread or multi-process environment) > ----------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-7015 > URL: https://issues.apache.org/jira/browse/HADOOP-7015 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.21.0 > Reporter: Sanjay Radia > Fix For: 0.22.0 > > Attachments: hadoop-7015.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.