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 7A9264FEC for ; Fri, 1 Jul 2011 23:51:52 +0000 (UTC) Received: (qmail 94000 invoked by uid 500); 1 Jul 2011 23:51:52 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 93944 invoked by uid 500); 1 Jul 2011 23:51:51 -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 93933 invoked by uid 99); 1 Jul 2011 23:51:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2011 23:51:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2011 23:51:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5CE9543FFE1 for ; Fri, 1 Jul 2011 23:51:28 +0000 (UTC) Date: Fri, 1 Jul 2011 23:51:28 +0000 (UTC) From: "Dave Latham (JIRA)" To: issues@hbase.apache.org Message-ID: <1362990750.10168.1309564288363.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HBASE-4055) Client region location caches redundant HTableDescriptor's MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Client region location caches redundant HTableDescriptor's ---------------------------------------------------------- Key: HBASE-4055 URL: https://issues.apache.org/jira/browse/HBASE-4055 Project: HBase Issue Type: Improvement Affects Versions: 0.90.3 Reporter: Dave Latham Fix For: 0.92.0 While examining the heap of a map task in a MapReduce job that writes directly to HBase, I noticed that the HRegionLocation instances were taking up 90 MB (out of a 700 MB heap for each map task) to cache the locations for 15K regions. As the number of regions in the cluster continues to grow, this continues to grow as well. Of that, it appears that about 80 MB were going to 15K HTableDescriptor instances. There are only 5 tables that it's writing to, so it seems to be wasting a great deal of memory with a separate copy of the table descriptor for each region. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira