Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 14338 invoked from network); 27 Jan 2008 08:47:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jan 2008 08:47:58 -0000 Received: (qmail 99651 invoked by uid 500); 27 Jan 2008 08:47:48 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 99609 invoked by uid 500); 27 Jan 2008 08:47:48 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 99600 invoked by uid 500); 27 Jan 2008 08:47:48 -0000 Delivered-To: apmail-lucene-hadoop-dev@lucene.apache.org Received: (qmail 99597 invoked by uid 99); 27 Jan 2008 08:47:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jan 2008 00:47:48 -0800 X-ASF-Spam-Status: No, hits=-100.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; Sun, 27 Jan 2008 08:47:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B70AE71422C for ; Sun, 27 Jan 2008 00:47:34 -0800 (PST) Message-ID: <990799.1201423654746.JavaMail.jira@brutus> Date: Sun, 27 Jan 2008 00:47:34 -0800 (PST) From: "Jim Kellerman (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-2636) [hbase] Make cache flush triggering less simplistic In-Reply-To: <27017385.1200551794866.JavaMail.jira@brutus> 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/HADOOP-2636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562969#action_12562969 ] Jim Kellerman commented on HADOOP-2636: --------------------------------------- Thanks for trying this out Billy, as it turned out, the HStore could queue several requests to flush itself before the flusher could act on it. I have modified this so that if an HStore is in the flush queue, it won't get entered a second time. The latest patch contains this fix. Additionally, I have re-written Leases to be event-driven rather than a polling model. If you get a chance, try it out. > [hbase] Make cache flush triggering less simplistic > --------------------------------------------------- > > Key: HADOOP-2636 > URL: https://issues.apache.org/jira/browse/HADOOP-2636 > Project: Hadoop Core > Issue Type: Improvement > Components: contrib/hbase > Affects Versions: 0.16.0 > Reporter: stack > Assignee: Jim Kellerman > Fix For: 0.17.0 > > Attachments: 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.