hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10926) Use global procedure to flush table memstore cache
Date Thu, 12 Jun 2014 21:59:04 GMT

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

Andrew Purtell commented on HBASE-10926:
----------------------------------------

To reproduce:

Prep:
{noformat}
$ cd ./src/hbase
$ git checkout master
$ mvn -DskipTests clean install
{noformat}

In one console:
{noformat}
$ ./bin/hbase master start
{noformat}

In another console:
{noformat}
$ ./bin/hbase org.apache.hadoop.hbase.util.LoadTestTool -num_keys 100000 \
    -read 10:100 -write 1:100:10
{noformat}

In a third console:
{noformat}
$ ./bin/hbase shell
hbase> while true do ; flush 'cluster_test' ; sleep 10 ; end
{noformat}


> Use global procedure to flush table memstore cache
> --------------------------------------------------
>
>                 Key: HBASE-10926
>                 URL: https://issues.apache.org/jira/browse/HBASE-10926
>             Project: HBase
>          Issue Type: Improvement
>          Components: Admin
>    Affects Versions: 0.96.2, 0.98.1
>            Reporter: Jerry He
>            Assignee: Jerry He
>             Fix For: 0.99.0
>
>         Attachments: HBASE-10926-trunk-v1.patch, HBASE-10926-trunk-v2.patch, HBASE-10926-trunk-v3.patch,
HBASE-10926-trunk-v4.patch
>
>
> Currently, user can trigger table flush through hbase shell or HBaseAdmin API.  To flush
the table cache, each region server hosting the regions is contacted and flushed sequentially,
which is less efficient.
> In HBase snapshot global procedure is used to coordinate and flush the regions in a distributed
way.
> Let's provide a distributed table flush for general use.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message