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 88CF8200B4C for ; Fri, 8 Jul 2016 05:55:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 879A5160A7C; Fri, 8 Jul 2016 03:55:17 +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 0312E160A68 for ; Fri, 8 Jul 2016 05:55:16 +0200 (CEST) Received: (qmail 75293 invoked by uid 500); 8 Jul 2016 03:55:11 -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 75259 invoked by uid 99); 8 Jul 2016 03:55:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2016 03:55:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 049EB2C02A3 for ; Fri, 8 Jul 2016 03:55:11 +0000 (UTC) Date: Fri, 8 Jul 2016 03:55:11 +0000 (UTC) From: "Yu Li (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-16195) Should not add chunk into chunkQueue if not using chunk pool in HeapMemStoreLAB MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 08 Jul 2016 03:55:17 -0000 [ https://issues.apache.org/jira/browse/HBASE-16195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yu Li updated HBASE-16195: -------------------------- Attachment: HBASE-16195.patch The initial patch: 1. Change to only initialize and use chunkQueue when chunkPool is in use. 2. Limit chunkQueue length, max allowed memory taken by chunk queue is memstore flush size by default. Introduced property {{hbase.hregion.memstore.mslab.chunkqueue.length}} to set it. 3. Remove the chunk from chunkQueue after retiring it. Notice that chunkPool might be full in which case the {{putbackChunks}} call won't be able to clear chunkQueue, so we should remove the chunk explicitly. > Should not add chunk into chunkQueue if not using chunk pool in HeapMemStoreLAB > ------------------------------------------------------------------------------- > > Key: HBASE-16195 > URL: https://issues.apache.org/jira/browse/HBASE-16195 > Project: HBase > Issue Type: Sub-task > Reporter: Yu Li > Assignee: Yu Li > Attachments: HBASE-16195.patch > > > Problem description and analysis please refer to HBASE-16193 -- This message was sent by Atlassian JIRA (v6.3.4#6332)