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

Konstantin Shvachko commented on HBASE-6340:
--------------------------------------------

Yes I didn't see any work on endpoints in HBASE-6414. Since WritableRpcEngine 
goes away with it, what endpoint cps will based on?
As for this patch, I can rewrite the test to use endpoint cps. This will be 
less generic, but more to the point I am targeting. This should make it 
independent of HBASE-6414. I am also concerned about previous versions .92 .94, 
which don't have PB RPC, but have to be used until .96 is stabilized.
                
> HBase RPC does not 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
>         Attachments: 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: 
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