hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8801) Convert BlockInfoUnderConstruction as a feature
Date Tue, 21 Jul 2015 19:33:05 GMT

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

Tsz Wo Nicholas Sze commented on HDFS-8801:
-------------------------------------------

INodeFile has many different features such as FileWithSnapshotFeature, AclFeature, XAttrFeature
so that it needs a Feature class.  But BlockInfo only has two features.  So we may not want
to covert BlockInfoUnderConstruction as a feature since it increases memory usage.

Also, BlockInfoUnderConstruction may not be a common feature between contiguous and striping
blocks since they have different uc implementation.

> 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
>    Affects Versions: 2.7.1
>            Reporter: Zhe Zhang
>
> 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