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] [Updated] (HDFS-8499) Merge BlockInfoUnderConstruction into trunk
Date Mon, 08 Jun 2015 18:56:01 GMT

     [ https://issues.apache.org/jira/browse/HDFS-8499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Zhe Zhang updated HDFS-8499:
    Attachment: HDFS-8499.02.patch

Attaching new patch to address Yi's comment. The {{BlockInfoContiguousFeature}} class is a
helper with static method implementing the shared logic of {{BIContiguous}} and {{BIContiguousUC}}.

This is basically a multi-inheritance problem. I had an offline discussion with [~andrew.wang]
to compare different options of solving this. One option is demonstrated in the 02 patch.
Another option is to keep the hierarchy in HDFS-7285 branch, and convert shared UC logic into
a feature ([~jingzhao] and I also discussed this idea in an earlier meetup). I'll post a patch
later today to demonstrate that direction, and we can determine which one is cleaner.

> 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
> 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