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 CB9B2F1FC for ; Tue, 23 Apr 2013 17:29:16 +0000 (UTC) Received: (qmail 29444 invoked by uid 500); 23 Apr 2013 17:29:16 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 29400 invoked by uid 500); 23 Apr 2013 17:29:16 -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 29391 invoked by uid 99); 23 Apr 2013 17:29:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Apr 2013 17:29:16 +0000 Date: Tue, 23 Apr 2013 17:29:16 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-8372) Provide mutability to CompoundConfiguration 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-8372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13639272#comment-13639272 ] Ted Yu commented on HBASE-8372: ------------------------------- bq. we'd now have copy of each value into a new mutableConf Can you clarify the meaning of 'a new mutableConf' ? Once mutableConf is materialized inside CompoundConfiguration, the list of ImmutableConfigMap's are no longer needed. In patch v5, each time freezeMutableConf() is called, ImmutableConfWrapper would keep a reference to mutableConf. This leads to more memory consumption. > Provide mutability to CompoundConfiguration > ------------------------------------------- > > Key: HBASE-8372 > URL: https://issues.apache.org/jira/browse/HBASE-8372 > Project: HBase > Issue Type: New Feature > Reporter: Ted Yu > Assignee: Jonathan Hsieh > Attachments: hbase-8372.patch, hbase-8372.v2.patch, hbase-8372.v3.patch, hbase-8372.v4.patch, hbase-8372.v5.patch > > > In discussion of HBASE-8347, it was proposed that CompoundConfiguration should support mutability. > This can be done by consolidating ImmutableConfigMap's on first modification to CompoundConfiguration. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira