hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-1766) Merging Block and BlockInfo classes on name-node.
Date Thu, 23 Aug 2007 01:44:30 GMT
Merging Block and BlockInfo classes on name-node.
-------------------------------------------------

                 Key: HADOOP-1766
                 URL: https://issues.apache.org/jira/browse/HADOOP-1766
             Project: Hadoop
          Issue Type: Improvement
          Components: dfs
    Affects Versions: 0.14.0
            Reporter: Konstantin Shvachko
            Assignee: Konstantin Shvachko
             Fix For: 0.15.0


In current implementation
- BlocksMap references BlockInfo
- INode references Block
- BlockInfo contains a reference to the corresponding Block

It would be better to incorporate Block into BlockInfo and reference the latter everywhere
in name-node structures.
This saves 24 bytes per block on a 64-bit jvm as stated in HADOOP-1687 (5).
I retained the Block class as a structure for external (client and data-node) communication.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message