Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 10658 invoked from network); 12 Sep 2008 20:16:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Sep 2008 20:16:37 -0000 Received: (qmail 93835 invoked by uid 500); 12 Sep 2008 20:16:33 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 93371 invoked by uid 500); 12 Sep 2008 20:16:32 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 93358 invoked by uid 99); 12 Sep 2008 20:16:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2008 13:16:31 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2008 20:15:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 397A8234C1D7 for ; Fri, 12 Sep 2008 13:15:44 -0700 (PDT) Message-ID: <1295307643.1221250544221.JavaMail.jira@brutus> Date: Fri, 12 Sep 2008 13:15:44 -0700 (PDT) From: "Amar Kamat (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-4167) RawLocalFileSystem.listStatus() should not throw FileNotFound exception if a file goes missing while the list is being computed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org RawLocalFileSystem.listStatus() should not throw FileNotFound exception if a file goes missing while the list is being computed ------------------------------------------------------------------------------------------------------------------------------- Key: HADOOP-4167 URL: https://issues.apache.org/jira/browse/HADOOP-4167 Project: Hadoop Core Issue Type: Bug Components: dfs Reporter: Amar Kamat {{RawLocalFileSystem.listStatus()}} first caches the filenames and then gets their statuses. Since there is no directory locking, other processes can delete files in between making the cached filenames invalid. Getting the filestatus of missing file results into {{FileNotFound}} exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.