Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 95393 invoked from network); 6 Dec 2006 06:21:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2006 06:21:45 -0000 Received: (qmail 86531 invoked by uid 500); 6 Dec 2006 06:21:53 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 86467 invoked by uid 500); 6 Dec 2006 06:21:52 -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 86458 invoked by uid 99); 6 Dec 2006 06:21:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Dec 2006 22:21:52 -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; Tue, 05 Dec 2006 22:21:43 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A93AE7142F6 for ; Tue, 5 Dec 2006 22:21:23 -0800 (PST) Message-ID: <22600440.1165386083690.JavaMail.jira@brutus> Date: Tue, 5 Dec 2006 22:21:23 -0800 (PST) From: "dhruba borthakur (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-764) The memory consumption of processReport() in the namenode can be reduced In-Reply-To: <21824491.1164845001071.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 [ http://issues.apache.org/jira/browse/HADOOP-764?page=all ] dhruba borthakur updated HADOOP-764: ------------------------------------ Attachment: (was: processBlockReport.patch) > The memory consumption of processReport() in the namenode can be reduced > ------------------------------------------------------------------------ > > Key: HADOOP-764 > URL: http://issues.apache.org/jira/browse/HADOOP-764 > Project: Hadoop > Issue Type: Bug > Components: dfs > Reporter: dhruba borthakur > Assigned To: dhruba borthakur > Attachments: processBlockReport3.patch > > > The FSNamesystem.processReport() method converts the blocklist for a datanode into an array by calling node.getBlocks(). Although this memory allocation is transient, it could possibly require the garbage-collector to work that much harder. > The method Block.getBlocks() should be deprecated. Code that currently uses this method should instead iterate over the Collection. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira