Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 65078 invoked from network); 15 Apr 2008 09:04:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Apr 2008 09:04:17 -0000 Received: (qmail 41861 invoked by uid 500); 15 Apr 2008 09:04:11 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 41825 invoked by uid 500); 15 Apr 2008 09:04:11 -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 41777 invoked by uid 99); 15 Apr 2008 09:04:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 02:04:11 -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; Tue, 15 Apr 2008 09:03:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EDDCB234C0D5 for ; Tue, 15 Apr 2008 02:01:05 -0700 (PDT) Message-ID: <312035589.1208250065973.JavaMail.jira@brutus> Date: Tue, 15 Apr 2008 02:01:05 -0700 (PDT) From: "Edward J. Yoon (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-2842) NameNode should throw FileNotFoundException for nonexistent files In-Reply-To: <30735511.1203099367816.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HADOOP-2842: ----------------------------------- Resolution: Duplicate Status: Resolved (was: Patch Available) Yes, actually, This issue will be fixed by HADOOP-3239 and HADOOP-3160. > NameNode should throw FileNotFoundException for nonexistent files > ----------------------------------------------------------------- > > Key: HADOOP-2842 > URL: https://issues.apache.org/jira/browse/HADOOP-2842 > Project: Hadoop Core > Issue Type: Improvement > Components: dfs > Affects Versions: 0.16.0 > Reporter: Hairong Kuang > Assignee: Edward J. Yoon > Fix For: 0.18.0 > > Attachments: 2842_v01.patch, 2842_v02.patch > > > Currently namenode throws an IOException with a "File does not exist" message for nonexistent files. It would be better to throw FileNotFound exception. So the client does not need to parse the error message to find out the real cause of the I/O error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.