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] Commented: (HADOOP-1759) File name should be represented by a byte array instead of a String
Date Thu, 23 Aug 2007 00:14:30 GMT

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

Konstantin Shvachko commented on HADOOP-1759:
---------------------------------------------

This is about saving bytes.
Using Text as an object with a length field will add  24 bytes for each name.
For regular (ascii) file names String and Text have almost the same memory overhead.


> 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