Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 35326 invoked from network); 8 Feb 2007 20:03:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2007 20:03:27 -0000 Received: (qmail 88410 invoked by uid 500); 8 Feb 2007 20:03:33 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 88389 invoked by uid 500); 8 Feb 2007 20:03:33 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 88380 invoked by uid 99); 8 Feb 2007 20:03:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 12:03:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 12:03:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 005F3410957 for ; Thu, 8 Feb 2007 12:03:06 -0800 (PST) Message-ID: <7428753.1170964985998.JavaMail.jira@brutus> Date: Thu, 8 Feb 2007 12:03:05 -0800 (PST) From: "Raghu Angadi (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-803) Reducing memory consumption on Namenode : Part 1 In-Reply-To: <20960270.1165538721047.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471471 ] Raghu Angadi commented on HADOOP-803: ------------------------------------- TreeMap allows us to get the object that was inserted into the map. With TreeSet we can not get the object that was inserted. This is the base for removing extra block objects in this patch. > Reducing memory consumption on Namenode : Part 1 > ------------------------------------------------ > > Key: HADOOP-803 > URL: https://issues.apache.org/jira/browse/HADOOP-803 > Project: Hadoop > Issue Type: Bug > Components: dfs > Reporter: Raghu Angadi > Assigned To: Raghu Angadi > Fix For: 0.12.0 > > Attachments: block-refs-2.patch, block-refs-3.patch, block-refs-5.patch, HADOOP-803-2.patch, HADOOP-803.patch, HADOOP-803_3.patch, HADOOP-803_4.patch, NameNodeMemoryHogs.txt > > > There appears to be some places in Namenode that allow reducing memory consumption without intrusive code or feature changes. This bug is an initial attempt making those changes. Please include your thoughts as well. > One change I am planning to make : > Currently one copy of each block exists for each of the replicas and one copy for blockMap. I think they are all supposed to be same. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.