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

Reply via email to