hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sameer Paranjpye (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1759) File name should be represented by a byte array instead of a String
Date Thu, 23 Aug 2007 00:10:30 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521974
] 

Sameer Paranjpye commented on HADOOP-1759:
------------------------------------------

Don't think we should. This is a memory conservation exercise. Using a Text would mean an
additional 28 bytes/file (16 byte JVM header + 8 byte reference  + 4 bytes of length), for
64-bit JVMs at any rate.

> File name should be represented by a byte array instead of a String
> -------------------------------------------------------------------
>
>                 Key: HADOOP-1759
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1759
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.14.0
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.15.0
>
>         Attachments: byteName.patch
>
>
> This patch changes INode.name type to byte[], as outlined in HADOOP-1687 (4).
> I submit it as a separate patch since it does not touch a lot of code, just INode.java

-- 
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