Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A99ED86B for ; Fri, 30 Nov 2012 06:34:00 +0000 (UTC) Received: (qmail 76901 invoked by uid 500); 30 Nov 2012 06:33:59 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 76857 invoked by uid 500); 30 Nov 2012 06:33:59 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 76816 invoked by uid 99); 30 Nov 2012 06:33:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2012 06:33:58 +0000 Date: Fri, 30 Nov 2012 06:33:58 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: <660308613.44202.1354257238429.JavaMail.jiratomcat@arcas> In-Reply-To: <1628945959.71586.1342644215220.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6423) Writes should not block reads on blocking updates to memstores 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-6423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507138#comment-13507138 ] stack commented on HBASE-6423: ------------------------------ [~jxiang] You doing the createConf stuff in the test that Lars above refers too because there is no setup in this old junit3 TestHRegion and you need to get your custom config. in there each time test runs? If so, +1 on commit. Otherwise, what Lars asks. > Writes should not block reads on blocking updates to memstores > -------------------------------------------------------------- > > Key: HBASE-6423 > URL: https://issues.apache.org/jira/browse/HBASE-6423 > Project: HBase > Issue Type: Bug > Reporter: Karthik Ranganathan > Assignee: Jimmy Xiang > Attachments: trunk-6423.patch, trunk-6423_v2.1.patch, trunk-6423_v2.patch, trunk-6423_v3.2.patch > > > We have a big data use case where we turn off WAL and have a ton of reads and writes. We found that: > 1. flushing a memstore takes a while (GZIP compression) > 2. incoming writes cause the new memstore to grow in an unbounded fashion > 3. this triggers blocking memstore updates > 4. in turn, this causes all the RPC handler threads to block on writes to that memstore > 5. we are not able to read during this time as RPC handlers are blocked > At a higher level, we should not hold up the RPC threads while blocking updates, and we should build in some sort of rate control. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira