You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Todd Lipcon (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/14 09:12:30 UTC

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

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

Todd Lipcon resolved HADOOP-7921.
---------------------------------

       Resolution: Fixed
    Fix Version/s: HA Branch (HDFS-1623)
     Hadoop Flags: Reviewed

Committed to branch, thanks atm
                
> 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
>             Fix For: HA Branch (HDFS-1623)
>
>         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