[
https://issues.apache.org/jira/browse/HADOOP-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Srinivas updated HADOOP-6900:
------------------------------------
Summary: FileSystem#listLocatedStatus should not throw generic
RuntimeException to indicate error conditions (was:
FileSystem#listLocatedStatus API needs changes to indicate complete set of
error conditions)
Description: 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. (was: HDFS-6870
introduced FileSystem#listLocatedStatus(), that returns an iterator to iterate
through LocatedFileStatus for files under a directory or recursively under a
sub-directory. Through the iterator application does not get all the error
conditions.)
> 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
>
> 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.