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 2015/05/13 23:28:59 UTC

[jira] [Commented] (HDFS-8394) Move getAdditionalBlock() and related functionalities into a separate class

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