You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Christophe Taton (JIRA)" <ji...@apache.org> on 2007/07/26 02:31:31 UTC

[jira] Updated: (HADOOP-1653) FSDirectory class code cleanup

     [ https://issues.apache.org/jira/browse/HADOOP-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christophe Taton updated HADOOP-1653:
-------------------------------------

    Attachment: fsdirectory-cleanup-20070725-1706.patch

Here is a patch (~160 lines).
All JUnit test pass.

Christophe T.

> FSDirectory class code cleanup
> ------------------------------
>
>                 Key: HADOOP-1653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1653
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.15.0
>            Reporter: Christophe Taton
>            Priority: Trivial
>         Attachments: fsdirectory-cleanup-20070725-1706.patch
>
>
>  - lets FSDirectory.INode become a static class, thus sparing one pointer per INode
>  - removes an unused constructor for FSDirectory.INode
>  - merges identical methods INode.getAbsoluteName() and INode.computeName() and optimizes it using StringBuffer

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