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 3100018E06 for ; Mon, 11 Apr 2016 04:58:26 +0000 (UTC) Received: (qmail 4977 invoked by uid 500); 11 Apr 2016 04:58:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 4928 invoked by uid 500); 11 Apr 2016 04:58:25 -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 4909 invoked by uid 99); 11 Apr 2016 04:58:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2016 04:58:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7D8702C1F5A for ; Mon, 11 Apr 2016 04:58:25 +0000 (UTC) Date: Mon, 11 Apr 2016 04:58:25 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15625) Make minimum values configurable and smaller 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-15625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15234491#comment-15234491 ] Anoop Sam John commented on HBASE-15625: ---------------------------------------- In another attempt, we want to make use of off heap memory for the bigger parts like BC and Memstore. So we want to work with lower heap size only. JFYI. For BC there can be even 0 size. For memstore at least 5% memory is what we mandate as per code as of now. > Make minimum values configurable and smaller > -------------------------------------------- > > Key: HBASE-15625 > URL: https://issues.apache.org/jira/browse/HBASE-15625 > Project: HBase > Issue Type: Bug > Affects Versions: 1.2.0 > Reporter: Jean-Marc Spaggiari > Assignee: Asher Bartch > Priority: Minor > Labels: beginner > > When we start a RS, we check HConstants.HBASE_CLUSTER_MINIMUM_MEMORY_THRESHOLD to make sure we always keep 20% of the heap for HBase (See below). In the past maximum heap size was about 20GB, which means 4GB for HBase. > Today, with huge heaps and GC1, 20% gives a lot to HBase. Like with 80GB heap, it gives 16GB, which I think it not required. > We need to make HBASE_CLUSTER_MINIMUM_MEMORY_THRESHOLD configurable and lower it's default value to 10%. It will not make any difference on any HBase configuration but will allow admins to be more flexible. > Same thing for the minimum memstore and blockcache sizes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)