Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 5881 invoked from network); 27 Mar 2009 09:15:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Mar 2009 09:15:13 -0000 Received: (qmail 74088 invoked by uid 500); 27 Mar 2009 09:15:12 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 74027 invoked by uid 500); 27 Mar 2009 09:15:12 -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 74017 invoked by uid 99); 27 Mar 2009 09:15:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2009 09:15:12 +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; Fri, 27 Mar 2009 09:15:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 63D17234C003 for ; Fri, 27 Mar 2009 02:14:51 -0700 (PDT) Message-ID: <1574881919.1238145291394.JavaMail.jira@brutus> Date: Fri, 27 Mar 2009 02:14:51 -0700 (PDT) From: "Craig Macdonald (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5581) libhdfs does not get FileNotFoundException In-Reply-To: <486535607.1238083810485.JavaMail.jira@brutus> 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 [ https://issues.apache.org/jira/browse/HADOOP-5581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689853#action_12689853 ] Craig Macdonald commented on HADOOP-5581: ----------------------------------------- Hi Brian, Two small questions: (a) Can you comment on how this relates to HADOOP-5579? (b) I can't see "Cannot open file" in the current trunk of hdfs.c - do you know where this is coming from? > libhdfs does not get FileNotFoundException > ------------------------------------------ > > Key: HADOOP-5581 > URL: https://issues.apache.org/jira/browse/HADOOP-5581 > Project: Hadoop Core > Issue Type: Bug > Components: dfs, libhdfs > Affects Versions: 0.19.1 > Reporter: Brian Bockelman > > When trying to open a file that does not exist for read, libhdfs prints an error out along the line of "Cannot open file ". > I believe it should be throwing the FileNotFoundException instead. This would allow us to correctly set the errno and more naturally give the errors to the C-based clients. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.