hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-7840) Cleanup unnecessary exceptions thrown and unnecessary casts
Date Sat, 22 Sep 2012 14:31:07 GMT

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

Harsh J resolved HADOOP-7840.

    Resolution: Invalid

If we remove those "throws IOException" bits out of the methods you've changed, won't we inadvertently
affect DistributedFileSystem that does Override these methods and makes use of the throws
specification? We'll be breaking API if am not wrong.

For example, I tried removing "throws IOException" from FileSystem and DistributedFileSystem
immediately complained at the overriden method cause it broke compatibility.

I'm closing this as Invalid, at this point, but please reopen if I got something wrong.
> Cleanup unnecessary exceptions thrown and unnecessary casts
> -----------------------------------------------------------
>                 Key: HADOOP-7840
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7840
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 0.24.0
>            Reporter: Hari Mankude
>            Assignee: Hari Mankude
>            Priority: Minor
>         Attachments: hadoop-7840.trunk.patch
> Cleanup build warnings. It is the file in the hadoop-common subtree for hdfs-2564.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message