hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8801) Convert BlockInfoUnderConstruction as a feature
Date Mon, 17 Aug 2015 17:58:46 GMT

    [ https://issues.apache.org/jira/browse/HDFS-8801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699936#comment-14699936

Haohui Mai commented on HDFS-8801:

The current approach requires exposing {{setGenerationStampAndVerifyReplicas()}} and {{commitBlock()}}
into the {{BlockInfo}} class. It's not ideal and it requires further refactoring, but I think
given the scope of the changes it's okay to address it in a separate jira.


> Convert BlockInfoUnderConstruction as a feature
> -----------------------------------------------
>                 Key: HDFS-8801
>                 URL: https://issues.apache.org/jira/browse/HDFS-8801
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Zhe Zhang
>            Assignee: Jing Zhao
>         Attachments: HDFS-8801.000.patch
> Per discussion under HDFS-8499, with the erasure coding feature, there will be 4 types
of {{BlockInfo}} forming a multi-inheritance: {{complete+contiguous}}, {{complete+striping}},
{{UC+contiguous}}, {{UC+striped}}. We had the same challenge with {{INodeFile}} and the solution
was building feature classes like {{FileUnderConstructionFeature}}. This JIRA aims to implement
the same idea on {{BlockInfo}}. 

This message was sent by Atlassian JIRA

View raw message