You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Aaron T. Myers (Commented) (JIRA)" <ji...@apache.org> on 2011/12/14 08:58:31 UTC

[jira] [Commented] (HADOOP-7921) StandbyException should extend IOException

    [ 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