Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 470 invoked from network); 7 Feb 2009 02:45:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2009 02:45:23 -0000 Received: (qmail 76304 invoked by uid 500); 7 Feb 2009 02:45:23 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 76128 invoked by uid 500); 7 Feb 2009 02:45:22 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 76117 invoked by uid 99); 7 Feb 2009 02:45:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2009 18:45:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Feb 2009 02:45:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B4D1B234C4AB for ; Fri, 6 Feb 2009 18:44:59 -0800 (PST) Message-ID: <1436515798.1233974699739.JavaMail.jira@brutus> Date: Fri, 6 Feb 2009 18:44:59 -0800 (PST) From: "Erik Holstad (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Created: (HBASE-1189) Changing the map type used internally for HbaseMapWritable. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Changing the map type used internally for HbaseMapWritable. ------------------------------------------------------------- Key: HBASE-1189 URL: https://issues.apache.org/jira/browse/HBASE-1189 Project: Hadoop HBase Issue Type: New Feature Components: io Reporter: Erik Holstad Priority: Minor For the CellCache the need for a HbaseMapWritable that has a different kind of map used internally has showed up. The problem is that the instantiation of the map is done static so you have no control over it and if extending HMW you get both the memory usage for the parent as well as the child. After trying out different ideas on how to solve this, it seems like the easiest way would be to have a setMapType method and just set it to null in the code. If the old code would be kept you would need to instantiate 2 different maps. The problem with setting it to null is that all the old code needs to be changed to fit the new model, and also be used in the future. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.