[
https://issues.apache.org/jira/browse/HDFS-8489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhe Zhang updated HDFS-8489:
----------------------------
Attachment: HDFS-8489.04.patch
Both {{TestFileTruncate}} and {{TestAppendSnapshotTruncate}} pass locally.
Uploading new patch with 2 changes to address check style issues:
# Remove 2 unused imports from {{BlocksMap}}
# Add a period to a Javadoc in {{BlockInfo}}
> Subclass BlockInfo to represent contiguous blocks
> -------------------------------------------------
>
> Key: HDFS-8489
> URL: https://issues.apache.org/jira/browse/HDFS-8489
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: 2.7.0
> Reporter: Zhe Zhang
> Assignee: Zhe Zhang
> Attachments: HDFS-8489.00.patch, HDFS-8489.01.patch,
> HDFS-8489.02.patch, HDFS-8489.03.patch, HDFS-8489.04.patch
>
>
> As second step of the cleanup, we should make {{BlockInfo}} an abstract class
> and merge the subclass {{BlockInfoContiguous}} from HDFS-7285 into trunk. The
> patch should clearly separate where to use the abstract class versus the
> subclass.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)