hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-6499) Standardize when we return false and when we throw IOException in FileSystem API
Date Tue, 29 Jul 2014 22:48:38 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer resolved HADOOP-6499.
--------------------------------------

    Resolution: Won't Fix

> Standardize when we return false and when we throw IOException in FileSystem API
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-6499
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6499
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Zheng Shao
>
> Currently most of the methods in Hadoop FileSystem has 2 ways of returning errors:
> 1. Return false
> 2. throw an IOException
> We should standardize what should happen in what case, so that the caller can retry/fail
accordingly.
> The standard can be added to javadoc of FileSystem, then we need to verify all FileSystem
implementation follow the same standard.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message