hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7972) HAServiceProtocol exceptions need to be unwrapped before it can be used
Date Thu, 12 Jan 2012 22:15:40 GMT

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

Suresh Srinivas commented on HADOOP-7972:

Some comments:
# HAServiceProtocolHelper.java
#* javadoc probably should just say helper for making HAServiceProtocol calls, which provides
unwrapping of RemoteException.
#* Methods do not need to declare specific exceptions. Throwing IOException is sufficient.

> HAServiceProtocol exceptions need to be unwrapped before it can be used
> -----------------------------------------------------------------------
>                 Key: HADOOP-7972
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7972
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ha
>    Affects Versions: HA Branch (HDFS-1623)
>            Reporter: Hari Mankude
>            Assignee: Hari Mankude
>         Attachments: HADOOP-7972.txt
> Remote exceptions for all the interfaces in HAServiceProtocol class has to be unwrapped
before it can be used. All the HAServiceProtocol interfaces throw exceptions of type RemoteException
by default.

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


View raw message