You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Vinayakumar B (JIRA)" <ji...@apache.org> on 2017/06/22 12:11:00 UTC
[jira] [Updated] (HDFS-11067) DFS#listStatusIterator(..) should
throw FileNotFoundException if the directory deleted before fetching next
batch of entries
[ https://issues.apache.org/jira/browse/HDFS-11067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vinayakumar B updated HDFS-11067:
---------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0-alpha4
Release Note: DistributedFileSystem#listStatusIterator(..) throws FileNotFoundException if directory got deleted during iterating over large list beyond ls limit.
Status: Resolved (was: Patch Available)
Committed to trunk.
Thanks Everyone.
> DFS#listStatusIterator(..) should throw FileNotFoundException if the directory deleted before fetching next batch of entries
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-11067
> URL: https://issues.apache.org/jira/browse/HDFS-11067
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs-client
> Reporter: Vinayakumar B
> Assignee: Vinayakumar B
> Fix For: 3.0.0-alpha4
>
> Attachments: HDFS-11067-01.patch, HDFS-11067-02.patch, HDFS-11067-03.patch, HDFS-11067-04.patch
>
>
> DFS#listStatusIterator(..) currently stops iterating silently when the directory gets deleted before fetching the next batch of entries.
> It should throw FileNotFoundException() and let user know that file is deleted in the middle.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org