Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 25823 invoked from network); 12 Apr 2010 05:32:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Apr 2010 05:32:08 -0000 Received: (qmail 78590 invoked by uid 500); 12 Apr 2010 05:32:08 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 78555 invoked by uid 500); 12 Apr 2010 05:32:07 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 78547 invoked by uid 99); 12 Apr 2010 05:32:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 05:32:07 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 05:32:05 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3C5VhBF022713 for ; Mon, 12 Apr 2010 01:31:43 -0400 (EDT) Message-ID: <20071542.17281271050303576.JavaMail.jira@thor> Date: Mon, 12 Apr 2010 01:31:43 -0400 (EDT) From: "dhruba borthakur (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-1061) Memory footprint optimization for INodeFile object. In-Reply-To: <680844895.417801269297689033.JavaMail.jira@brutus.apache.org> 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 [ https://issues.apache.org/jira/browse/HDFS-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855843#action_12855843 ] dhruba borthakur commented on HDFS-1061: ---------------------------------------- we should try to get this into the impending 0.21 re-release. Can we fix the cause why HadoopQA did a -1 to this one? > Memory footprint optimization for INodeFile object. > ---------------------------------------------------- > > Key: HDFS-1061 > URL: https://issues.apache.org/jira/browse/HDFS-1061 > Project: Hadoop HDFS > Issue Type: Improvement > Components: name-node > Affects Versions: 0.22.0 > Reporter: Bharath Mundlapudi > Assignee: Bharath Mundlapudi > Priority: Minor > Fix For: 0.22.0 > > Attachments: HDFS-1061.patch > > > I am proposing a footprint optimization to merge blockReplication and preferredBlockSize fields into one 'long header' field in INodeFile class. This saves 8 bytes per INodeFile object on a 64 bit JVM. This memory optimization is transparent and changes are very minimal. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira