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 "Eli Collins (Commented) (JIRA)" <ji...@apache.org> on 2012/01/11 23:50:40 UTC

[jira] [Commented] (HADOOP-7970) All HAServiceProtocol methods have to throw IOException since they are invoked over the network

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

Eli Collins commented on HADOOP-7970:
-------------------------------------

+1, this would make some of the code in the FailoverController cleaner (places where we need to catch exception could now catch IOE).
                
> All HAServiceProtocol methods have to throw IOException since they are invoked over the network
> -----------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7970
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7970
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ha
>    Affects Versions: HA Branch (HDFS-1623)
>            Reporter: Hari Mankude
>            Assignee: Hari Mankude
>
> HAServiceProtocol methods have to throw ioexception in addition to other exceptions since they are RPCs which are invoked over the network.

--
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