Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 11653 invoked from network); 18 Aug 2009 18:20:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Aug 2009 18:20:21 -0000 Received: (qmail 38227 invoked by uid 500); 18 Aug 2009 18:20:39 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 38147 invoked by uid 500); 18 Aug 2009 18:20:39 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 38109 invoked by uid 99); 18 Aug 2009 18:20:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 18:20:39 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 18:20:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E389E29A0012 for ; Tue, 18 Aug 2009 11:20:14 -0700 (PDT) Message-ID: <893618588.1250619614931.JavaMail.jira@brutus> Date: Tue, 18 Aug 2009 11:20:14 -0700 (PDT) From: "Jakob Homan (JIRA)" To: common-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-6201) FileSystem::ListStatus should throw FileNotFoundException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org FileSystem::ListStatus should throw FileNotFoundException --------------------------------------------------------- Key: HADOOP-6201 URL: https://issues.apache.org/jira/browse/HADOOP-6201 Project: Hadoop Common Issue Type: Improvement Components: fs Reporter: Jakob Homan As discussed in HDFS-538, it would be better for FileSystem and its implementations to throw FileNotFoundException when the file is not found, rather than returning null. This will bring it in line with getFileStatus and, I expect, default user expectations. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.