hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6340) HBase RPC should allow protocol extension with common interfaces.
Date Tue, 11 Sep 2012 20:30:09 GMT

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

Hudson commented on HBASE-6340:
-------------------------------

Integrated in HBase-0.94 #461 (See [https://builds.apache.org/job/HBase-0.94/461/])
    HBASE-6340 HBase RPC should allow protocol extension with common interfaces.: REVERT (Revision
1383537)

     Result = SUCCESS
stack : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/client/coprocessor/Exec.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/ipc/Invocation.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/ipc/WritableRpcEngine.java
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/ipc/TestProtocolExtension.java

                
> HBase RPC should allow protocol extension with common interfaces.
> -----------------------------------------------------------------
>
>                 Key: HBASE-6340
>                 URL: https://issues.apache.org/jira/browse/HBASE-6340
>             Project: HBase
>          Issue Type: Bug
>          Components: coprocessors, regionserver
>    Affects Versions: 0.92.0
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.94.2
>
>         Attachments: 6340-RPCInvocation.patch, RPCInvocation.patch
>
>
> HBase RPC fails if MyProtocol extends an interface, which is not a VersionedProtocol
even if MyProtocol also directly extends VersionedProtocol. The reason is that rpc Invocation
uses Method.getDeclaringClass(), which returns the interface class rather than the class of
MyProtocol.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message