[ 
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

        

Reply via email to