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 941831838C for ; Tue, 27 Oct 2015 09:20:02 +0000 (UTC) Received: (qmail 76935 invoked by uid 500); 27 Oct 2015 09:19:28 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 76885 invoked by uid 500); 27 Oct 2015 09:19:28 -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 76874 invoked by uid 99); 27 Oct 2015 09:19:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Oct 2015 09:19:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 226652C1F56 for ; Tue, 27 Oct 2015 09:19:28 +0000 (UTC) Date: Tue, 27 Oct 2015 09:19:28 +0000 (UTC) From: "Heng Chen (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14704) Block cache instances should be mapped to each region servers in standalone mode or HBaseTestingUtility 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-14704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14976063#comment-14976063 ] Heng Chen commented on HBASE-14704: ----------------------------------- Excuse me, I don't understand what's the problem when all RS share one block cache instance in standalone or tests. Could you explain in detail? Thanks! > Block cache instances should be mapped to each region servers in standalone mode or HBaseTestingUtility > ------------------------------------------------------------------------------------------------------- > > Key: HBASE-14704 > URL: https://issues.apache.org/jira/browse/HBASE-14704 > Project: HBase > Issue Type: Bug > Reporter: Eungsop Yoo > Priority: Minor > Attachments: HBASE-14704.patch > > > CacheConfig has a single and static block cache instance. When HBase is running in standalone mode or HBaseTestingUtility, a single instance of block cache causes incorrect cache stats. So I suggest to change a single instance of block cache to a map of region server and block cache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)