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


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

        

Reply via email to