Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 50059 invoked from network); 11 Feb 2008 22:20:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2008 22:20:29 -0000 Received: (qmail 30878 invoked by uid 500); 11 Feb 2008 22:20:22 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 30867 invoked by uid 500); 11 Feb 2008 22:20:22 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 30858 invoked by uid 99); 11 Feb 2008 22:20:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 14:20:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 22:20:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 45323714077 for ; Mon, 11 Feb 2008 14:20:08 -0800 (PST) Message-ID: <20718525.1202768408280.JavaMail.jira@brutus> Date: Mon, 11 Feb 2008 14:20:08 -0800 (PST) From: "Jim Kellerman (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-69) [hbase] Make cache flush triggering less simplistic MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567846#action_12567846 ] Jim Kellerman commented on HBASE-69: ------------------------------------ > Billy Pearson - 11/Feb/08 02:00 PM > I get Blocking updates messages but no flushing happens so everything gos on hold and no new > transaction happen all my threads get blocked This logic is currently very unsophisticated. I'll try to come up with something better in the next patch. In the mean time, setting hbase.hregion.memcache.block.multiplier to (at least) the number of families should make things work. > [hbase] Make cache flush triggering less simplistic > --------------------------------------------------- > > Key: HBASE-69 > URL: https://issues.apache.org/jira/browse/HBASE-69 > Project: Hadoop HBase > Issue Type: Improvement > Components: regionserver > Reporter: stack > Assignee: Jim Kellerman > Fix For: 0.2.0 > > Attachments: patch.txt, patch.txt, patch.txt, patch.txt, patch.txt, patch.txt, patch.txt, patch.txt, patch.txt, patch.txt, patch.txt > > > When flusher runs -- its triggered when the sum of all Stores in a Region > a configurable max size -- we flush all Stores though a Store memcache might have but a few bytes. > I would think Stores should only dump their memcache disk if they have some substance. > The problem becomes more acute, the more families you have in a Region. > Possible behaviors would be to dump the biggest Store only, or only those Stores > 50% of max memcache size. Behavior would vary dependent on the prompt that provoked the flush. Would also log why the flush is running: optional or > max size. > This issue comes out of HADOOP-2621. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.