hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihong Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-6466) Enable multi-thread for memstore flush
Date Fri, 27 Jul 2012 23:23:34 GMT

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

Zhihong Ted Yu edited comment on HBASE-6466 at 7/27/12 11:21 PM:
-----------------------------------------------------------------

CompactSplitThread.requestCompaction(final HRegion r, final Store s,
      final String why, int priority) has this call (line 225): 
{code}
      pool.execute(cr);
{code}
which leads to CompactionRequest line 252:
{code}
        boolean completed = r.compact(this);
{code}
This doesn't explain the performance gain :-)
                
      was (Author: zhihyu@ebaysf.com):
    CompactSplitThread.requestCompaction(final HRegion r, final Store s,
      final String why, int priority) has this call (line 225): 
{code}
      pool.execute(cr);
{code}
which leads to CompactionRequest line 252:
{code}
        boolean completed = r.compact(this);
{code}
                  
> Enable multi-thread for memstore flush
> --------------------------------------
>
>                 Key: HBASE-6466
>                 URL: https://issues.apache.org/jira/browse/HBASE-6466
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: chunhui shen
>            Assignee: chunhui shen
>         Attachments: HBASE-6466.patch, HBASE-6466v2.patch
>
>
> If the KV is large or Hlog is closed with high-pressure putting, we found memstore is
often above the high water mark and block the putting.
> So should we enable multi-thread for Memstore Flush?

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

        

Mime
View raw message