hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8801) Convert BlockInfoUnderConstruction as a feature
Date Fri, 14 Aug 2015 22:48:46 GMT

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

Zhe Zhang commented on HDFS-8801:
---------------------------------

Thanks for initiating the work Jing! The overall structure in the patch looks good to me.

Should we take the chance to change {{replicas}} from a List to an array? This can offset
some of the memory overhead from the feature pointer, and also help us reconcile trunk with
the striped UC code later.

> 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
(v6.3.4#6332)

Mime
View raw message