hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17743) Support embedded mode in HBase
Date Tue, 07 Mar 2017 22:34:38 GMT

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

Yu Li commented on HBASE-17743:

Thanks for chiming in boss [~stack].

bq. work already by-passing RPC in particular when Master was hosting hbase:meta
Yes, so for simple embedded mode, one of the the main work is to allow master to carry normal
table regions in embedded instance (smile).

bq. You've seen RegionAsTable class?...Could then just add a main on RegionAsTable then
Thanks for the reference boss, didn't notice this class. It's definitely ok to only have one
table per embedded instance, which is the case rocksdb is doing. And yes, will check and use
{{RegionAsTable}} when implementing full embedded mode.

> Support embedded mode in HBase
> ------------------------------
>                 Key: HBASE-17743
>                 URL: https://issues.apache.org/jira/browse/HBASE-17743
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Yu Li
>            Assignee: Yu Li
>         Attachments: Embedded HBase Design.docx
> Currently HBase supports stand-alone mode and suggest to use it for embedded database
requirements, which has below problems:
> 1. HMaster and HRegionServer are still separated threads, which cost more resource
> 2. There’s still RPC cost when doing request, which makes a poor performance
> 3. There're still distributed component involved in standalone-mode, such as zookeeper
and DLS, which makes the startup/shutdown speed not acceptable for embedded usage.
> Here we propose to support the embedded mode natively, mainly in two steps:
> 1. Simple embedded mode, which still uses zookeeper for coordination, but with only one
server thread and supports access w/o RPC
> 2. Full embedded mode, which removes all distributed stuff and make a clean embedded
core for embedded usage.
> Please see more details in the design doc.

This message was sent by Atlassian JIRA

View raw message