hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Bockelman (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-5581) libhdfs does not get FileNotFoundException
Date Fri, 03 Apr 2009 00:09:13 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-5581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Brian Bockelman updated HADOOP-5581:

    Attachment: HADOOP-5581-v2.patch

Patch updated - made a note in the javadoc that getBlockLocation throws FNF.  Used TestDistributedFileSystem
class instead of a new test class.

> 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
>             Fix For: 0.19.2, 0.20.0
>         Attachments: HADOOP-5581-v2.patch, HADOOP-5581.patch
> 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.

View raw message