You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Haohui Mai (JIRA)" <ji...@apache.org> on 2014/12/01 20:53:13 UTC
[jira] [Commented] (HDFS-7416) Revisit the abstraction between
NameNodeRpcServer, FSNameSystem and FSDirectory
[ https://issues.apache.org/jira/browse/HDFS-7416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14230334#comment-14230334 ]
Haohui Mai commented on HDFS-7416:
----------------------------------
This jira also separates different functionalities in {{FSNameSystem}} / {{FSDirectory}} into different classes. Today {{FSNameSystem}} has around 8000~9000 lines of code. This jira proposes to separate these 8000~9000 lines of code to different classes based for better maintainability. I also plan to move the separated classes under a new package name (e.g. {{o.a.h.hdfs.namenode.namespace}}) once the initial refactoring is finished.
> Revisit the abstraction between NameNodeRpcServer, FSNameSystem and FSDirectory
> -------------------------------------------------------------------------------
>
> Key: HDFS-7416
> URL: https://issues.apache.org/jira/browse/HDFS-7416
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Haohui Mai
> Assignee: Haohui Mai
>
> {{NameNodeRpcServer}}, {{FSNameSystem}} and {{FSDirectory}} implement the namespace of the NN. In the current implementation the boundary of these classes are not fully clear.
> This jira tracks the efforts of clarifying the boundaries between these three classes so that they can be more easily maintained in the long term.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)