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

Hairong Kuang commented on HADOOP-6900:
---------------------------------------

> Additionally I feel when a directory gets deleted in the middle of iteration, 
> we should ignore it, or add provision to the iterator to ignore it.

Unfortunately not allowing concurrent modification on the input directories is 
the semantics that map/reduce has it now. I do not want to introduce an 
incompatible change for now.

> FileSystem#listLocatedStatus should not throw generic RuntimeException to 
> indicate error conditions
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6900
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6900
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Suresh Srinivas
>            Assignee: Hairong Kuang
>         Attachments: listFilesIO.patch
>
>
> HDFS-6870 introduced FileSystem#listLocatedStatus(), that returns an Iterator 
> to iterate through LocatedFileStatus for files under a directory or 
> recursively under a sub-directory. Iterator currently throws generic 
> RuntimeException to indicate error conditions. API needs to be changed to 
> throw appropriate exceptions to indicate error conditions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to