hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8499) Merge BlockInfoUnderConstruction into trunk
Date Fri, 12 Jun 2015 00:49:00 GMT

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

Yi Liu commented on HDFS-8499:

Zhe, I don't quite get your point.  For Striped,  we will have separate static methods in
{{BlockInfoStriped}}, just as we do for {{BlockInfoContiguous}}, so how we need these 2 choices?

Then we face 2 choices in structuring BIStriped and BIUCStriped:
# We can handle them similarly as the 2 contiguous classes. The static methods will verify
the BlockInfo from the argument is instanceof either BIStriped or BIUCStriped, and so some
type casting. This is because the static methods need to operate on both the triplets and
# We can also explicitly create an interface for BIStriped and BIUCStriped.
I will file a separate JIRA for the 2 striped classes and start writing a patch.

> Merge BlockInfoUnderConstruction into trunk
> -------------------------------------------
>                 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
>         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.UCFeature.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

View raw message