hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7921) StandbyException should extend IOException
Date Wed, 14 Dec 2011 07:58:31 GMT

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

Aaron T. Myers commented on HADOOP-7921:
----------------------------------------

+1, the patch looks good to me.
                
> StandbyException should extend IOException
> ------------------------------------------
>
>                 Key: HADOOP-7921
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7921
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ha
>    Affects Versions: HA Branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-7921.txt
>
>
> In order to implement HDFS-2671 (HDFS methods should throw StandbyException when in wrong
state), we'd need to either add "throws StandbyException" to all of the protocol APIs, or
make StandbyException extend from IOException. The latter is much simpler and less probability
of it being a breaking change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message