hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Macdonald (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5581) libhdfs does not get FileNotFoundException
Date Fri, 27 Mar 2009 09:14:51 GMT

    [ 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 <filename>".
> 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.


Mime
View raw message