hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hitchcock (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5613) change S3Exception to checked exception
Date Wed, 15 Apr 2009 20:57:14 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699379#action_12699379

Andrew Hitchcock commented on HADOOP-5613:

The test failure appears unrelated to my change.

If there are no objections, can this be committed?

> change S3Exception to checked exception
> ---------------------------------------
>                 Key: HADOOP-5613
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5613
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs/s3
>    Affects Versions: 0.18.3
>            Reporter: Andrew Hitchcock
>            Priority: Minor
>         Attachments: patch-ioexceptions.patch
> Currently the S3 filesystems can throw unchecked exceptions (S3Exception) which are not
declared in the interface of FileSystem. These aren't caught by the various callers and can
cause unpredictable behavior. IOExceptions are caught by most users of FileSystem since it
is declared in the interface and hence is handled better.
> I propose we modify S3Exception to extend IOException.

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

View raw message