hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lohit vijayarenu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2842) NameNode should throw FileNotFoundException for nonexistent files
Date Tue, 15 Apr 2008 07:31:04 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588951#action_12588951
] 

lohit vijayarenu commented on HADOOP-2842:
------------------------------------------

Hi Edward, 
The patch looks good. But the issue address by this patch has changed in 2 ways.
- getFileInfo() no longer throws FileNotFoundException it returns null if file not found,
HADOOP-3239. So we might not need this here.
- exits() would be removed from server side 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.


Mime
View raw message