hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharath Mundlapudi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1843) Discover file not found early for file append
Date Sat, 16 Apr 2011 08:30:05 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020570#comment-13020570
] 

Bharath Mundlapudi commented on HDFS-1843:
------------------------------------------

If getFileInfo returns null then throw FileNotFoundException way early than going through
another complete append server call to discover that file was not found. Attached the patch
with unit test. Converted the testcase into JUnit 4 version.

> Discover file not found early for file append 
> ----------------------------------------------
>
>                 Key: HDFS-1843
>                 URL: https://issues.apache.org/jira/browse/HDFS-1843
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.23.0
>            Reporter: Bharath Mundlapudi
>            Assignee: Bharath Mundlapudi
>            Priority: Minor
>             Fix For: 0.23.0
>
>
> For the append call, discover file not found exception early and avoid extra server call.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message