Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 68768 invoked from network); 4 Jan 2010 04:51:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jan 2010 04:51:27 -0000 Received: (qmail 93354 invoked by uid 500); 4 Jan 2010 04:51:26 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 93259 invoked by uid 500); 4 Jan 2010 04:51:25 -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 93249 invoked by uid 99); 4 Jan 2010 04:51:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 04:51:24 +0000 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 04:51:24 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 17800234C04C for ; Sun, 3 Jan 2010 20:51:04 -0800 (PST) Message-ID: <429873978.14591262580664094.JavaMail.jira@brutus.apache.org> Date: Mon, 4 Jan 2010 04:51:04 +0000 (UTC) From: "Jean-Daniel Cryans (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-2087) The wait on compaction because "Too many store files" holds up all flushing In-Reply-To: <2069566320.1262305709398.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-2087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796078#action_12796078 ] Jean-Daniel Cryans commented on HBASE-2087: ------------------------------------------- bq. And this issue is about something else anyway, never holding up flushes As I said in my first comment, it's either too much WALs or too much store files. If we let all flushes go then we are overrun by store files. If we force flush memstores to be able to roll WALs then we easily create too much store files. We have seen stores that needed to compact 100 files and this is why we have a limit. So, I question the feasibility of this jira. In the particular case of WALs waiting on flushes waiting on too many store files, what I said is that it's by setting a very low number of WALs that we easily hit the limit. Setting it to a higher number means less chance of hitting this jira's problem, hence making it invalid? > The wait on compaction because "Too many store files" holds up all flushing > --------------------------------------------------------------------------- > > Key: HBASE-2087 > URL: https://issues.apache.org/jira/browse/HBASE-2087 > Project: Hadoop HBase > Issue Type: Bug > Reporter: stack > > The method MemStoreFlusher#checkStoreFileCount is called from flushRegion. flushRegion is called by MemStoreFlusher#run thread. If the checkStoreFileCount finds too many store files, it'll stick around waiting on a compaction to happen. While its hanging, the MemStoreFlusher#run is held up. No other region can flush. Meantime WALs will be rolling and memory will be accumulating writes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.