hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Wong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-53) RawLocalFileSystem.listStatus() should not throw FileNotFound exception if a file goes missing while the list is being computed
Date Mon, 25 Jul 2011 22:04:11 GMT

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

Steven Wong commented on HDFS-53:
---------------------------------

This issue is the same as HADOOP-7015, which has been fixed.

> RawLocalFileSystem.listStatus() should not throw FileNotFound exception if a file goes
missing while the list is being computed
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-53
>                 URL: https://issues.apache.org/jira/browse/HDFS-53
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Amar Kamat
>
> {{RawLocalFileSystem.listStatus()}} first caches the filenames and then gets their statuses.
Since there is no directory locking, other processes can delete files in between making the
cached filenames invalid. Getting the filestatus of missing file results into {{FileNotFound}}
exception.

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

        

Mime
View raw message