You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2013/01/09 07:44:13 UTC

[jira] [Updated] (HBASE-7477) Remove Proxy instance from HBase RPC

     [ https://issues.apache.org/jira/browse/HBASE-7477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-7477:
-------------------------

    Attachment: 7477experiment.txt

More experimenting making engine return a pb Service (follow on from HBASE-6521 and from chat Elliott and I were having earlier today).

The attached patch tries to keep the current engine model only instead of getProxy and stopProxy it has a start and stop that returns a pb Service instance instead.

But it won't work as is.  pb Service won't let us go this route.  pb Service would have us jettison all of this engine stuff too and just deal in Stub creations.

Putting aside for now.
                
> Remove Proxy instance from HBase RPC
> ------------------------------------
>
>                 Key: HBASE-7477
>                 URL: https://issues.apache.org/jira/browse/HBASE-7477
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Karthik Ranganathan
>         Attachments: 7477experiment.txt
>
>
> Currently, we use HBaseRPC.getProxy() to get an Invoker object to serialize the RPC parameters. This is pretty inefficient as it uses reflection to lookup the current method name.
> The aim is to break up the proxy into an actual proxy implementation so that:
> 1. we can make it more efficient by eliminating reflection
> 2. can re-write some parts of the protocol to make it even better

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