[
https://issues.apache.org/jira/browse/HDFS-8394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14542764#comment-14542764
]
Haohui Mai commented on HDFS-8394:
----------------------------------
The v0 patch focuses on moving the code into a separate class. It tries to
minimize the changes.
The most notable change is in {{FSNamesystem#getAdditionalBlock()}}. It moves
the core implementation of the two parts of the functions to
{{FSDirWriteFileOp}} and keeps the safemode checks within the FSNameSystem.
> Move getAdditionalBlock() and related functionalities into a separate class
> ---------------------------------------------------------------------------
>
> Key: HDFS-8394
> URL: https://issues.apache.org/jira/browse/HDFS-8394
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Haohui Mai
> Assignee: Haohui Mai
> Attachments: HDFS-8394.000.patch
>
>
> This jira proposes to move the implementation of getAdditionalBlock() and
> related functionalities to a separate class to open up the possibilities of
> further refactoring and improvements.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)