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-8499) Refactor BlockInfo class hierarchy with static helper class
Date Tue, 21 Jul 2015 18:58:04 GMT

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

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

{code}
>    BlockInfoContiguous and BlockInfoStriped could be implemented using completely different
data structures. 

Compared with BlockInfoContiguous, BlockInfoStriped just needs an additional indices array
to index into triplets.
{code}
You seem agree that Design #1 indeed imposes a limit to BlockInfoContiguous and BlockInfoStriped
that their implementations must be similar.  BlockInfoStriped cannot be changed to a completely
different implementation?

> Refactor BlockInfo class hierarchy with static helper class
> -----------------------------------------------------------
>
>                 Key: HDFS-8499
>                 URL: https://issues.apache.org/jira/browse/HDFS-8499
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: 2.7.0
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8499.00.patch, HDFS-8499.01.patch, HDFS-8499.02.patch, HDFS-8499.03.patch,
HDFS-8499.04.patch, HDFS-8499.05.patch, HDFS-8499.06.patch, HDFS-8499.07.patch, HDFS-8499.UCFeature.patch,
HDFS-bistriped.patch
>
>
> In HDFS-7285 branch, the {{BlockInfoUnderConstruction}} interface provides a common abstraction
for striped and contiguous UC blocks. This JIRA aims to merge it to trunk.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message