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

jirapos...@reviews.apache.org commented on HBASE-4460:
------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2410/
-----------------------------------------------------------

Review request for hbase, Dhruba Borthakur, Gary Helmling, Michael Stack, and 
Andrew Purtell.


Summary
-------

Rather than a separate process, it can be advantageous in some situations for 
each RegionServer to embed their own ThriftServer. This allows each embedded 
ThriftServer to short-circuit any queries that should be executed on the local 
RS and skip the extra hop. This then enables the building of fat Thrift clients 
that cache region locations and avoid extra hops all together.


This addresses bug HBASE-4460.
    https://issues.apache.org/jira/browse/HBASE-4460


Diffs
-----

  /src/main/java/org/apache/hadoop/hbase/thrift/ThriftServer.java 1174376 
  /src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java 
1174376 
  /src/main/java/org/apache/hadoop/hbase/regionserver/HRegionThriftServer.java 
PRE-CREATION 

Diff: https://reviews.apache.org/r/2410/diff


Testing
-------

Running this already on our hbase-92-based branch and running test site.


Thanks,

Jonathan


                
> Support running an embedded ThriftServer within a RegionServer
> --------------------------------------------------------------
>
>                 Key: HBASE-4460
>                 URL: https://issues.apache.org/jira/browse/HBASE-4460
>             Project: HBase
>          Issue Type: New Feature
>          Components: regionserver, thrift
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>         Attachments: HBASE-4460-v1.patch
>
>
> Rather than a separate process, it can be advantageous in some situations for 
> each RegionServer to embed their own ThriftServer.  This allows each embedded 
> ThriftServer to short-circuit any queries that should be executed on the 
> local RS and skip the extra hop.  This then enables the building of fat 
> Thrift clients that cache region locations and avoid extra hops all together.
> This JIRA is just about the embedded ThriftServer.  Will open others for the 
> rest.

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