Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 49FDD200C75 for ; Mon, 1 May 2017 00:25:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 48AE4160BBC; Sun, 30 Apr 2017 22:25:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 900E9160BA9 for ; Mon, 1 May 2017 00:25:12 +0200 (CEST) Received: (qmail 93003 invoked by uid 500); 30 Apr 2017 22:25:10 -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 92806 invoked by uid 99); 30 Apr 2017 22:25:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2017 22:25:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 81BED180A5A for ; Sun, 30 Apr 2017 22:25:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6aoEquEm-LKV for ; Sun, 30 Apr 2017 22:25:08 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 6A79B5FE1A for ; Sun, 30 Apr 2017 22:25:07 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A0529E0DE1 for ; Sun, 30 Apr 2017 22:25:06 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id D322121E15 for ; Sun, 30 Apr 2017 22:25:05 +0000 (UTC) Date: Sun, 30 Apr 2017 22:25:05 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-17943) The in-memory flush size is different for each CompactingMemStore located in the same region MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 30 Apr 2017 22:25:13 -0000 [ https://issues.apache.org/jira/browse/HBASE-17943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15990453#comment-15990453 ] Hudson commented on HBASE-17943: -------------------------------- ABORTED: Integrated in Jenkins build HBase-HBASE-14614 #190 (See [https://builds.apache.org/job/HBase-HBASE-14614/190/]) HBASE-17943 The in-memory flush size is different for each (chia7712: rev ea3a27b18df875284899b04fbc5fb58a3120e6c7) * (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestWalAndCompactingMemStoreFlush.java * (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CompactingMemStore.java * (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionServicesForStores.java HBASE-17943 Addendum increases the threshold value of in-memory (chia7712: rev 9053ec6fe6505eba4f14adfdd83329511e4a77f0) * (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestWalAndCompactingMemStoreFlush.java > The in-memory flush size is different for each CompactingMemStore located in the same region > --------------------------------------------------------------------------------------------- > > Key: HBASE-17943 > URL: https://issues.apache.org/jira/browse/HBASE-17943 > Project: HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 2.0.0 > Reporter: Chia-Ping Tsai > Assignee: Chia-Ping Tsai > Fix For: 2.0.0 > > Attachments: HBASE-17943.addendum.patch, HBASE-17943.v0.patch > > > {noformat} > private void initInmemoryFlushSize(Configuration conf) { > long memstoreFlushSize = getRegionServices().getMemstoreFlushSize(); > int numStores = getRegionServices().getNumStores(); > if (numStores <= 1) { > // Family number might also be zero in some of our unit test case > numStores = 1; > } > inmemoryFlushSize = memstoreFlushSize / numStores; > {noformat} > We initialize each store in parallel, so the return value from getNumStores() may be different for each CompactingMemStore. -- This message was sent by Atlassian JIRA (v6.3.15#6346)