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 Wed, 03 Jun 2015 18:06:39 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.00.patch

The patch does the following:
# Renames {{BlockInfoContiguousUnderConstruction}} to {{BlockInfoUnderConstruction}} to redirect
all UC usages to the new class
# Converts {{BlockInfoUnderConstruction}} to an abstract class
# Creates {{BlockInfoUnderConstructionContiguous}} (note the name is changed to reflect that
it's a subclass of {{BIUC}} instead of {{BIContiguous}} now). It implements the 4 abstract
methods from {{BlockInfo}} by explicitly converting itself to a {{BIContiguous}} first.

Uploading the patch to trigger Jenkins and gather some feedback on the overall direction.
I'm working on a rev to address down-casting from {{BI}} to {{BIUC}}

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