hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1061) Memory footprint optimization for INodeFile object.
Date Thu, 15 Apr 2010 21:50:53 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857561#action_12857561
] 

Eli Collins commented on HDFS-1061:
-----------------------------------

Patch lgtm. I wonder if we should limit the number of bits for replicas - 64k seems is overkill
and this would leave space for an additional field. Perhaps we just cross that bridge when
we come to it.

Looking at the console output it looks like the failures are due to a maven issue. Let's just
cancel and resubmit the patch. It applies to trunk on my local tree and ant test-core is running
ok so far. 

> 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

        

Mime
View raw message