[
https://issues.apache.org/jira/browse/HDFS-8938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haohui Mai updated HDFS-8938:
-----------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
Status: Resolved (was: Patch Available)
I've committed the patch to trunk and branch-2. Thanks [~liuml07] for the
contribution.
> Extract BlockToMarkCorrupt and ReplicationWork as standalone classes from
> BlockManager
> --------------------------------------------------------------------------------------
>
> Key: HDFS-8938
> URL: https://issues.apache.org/jira/browse/HDFS-8938
> Project: Hadoop HDFS
> Issue Type: Task
> Reporter: Mingliang Liu
> Assignee: Mingliang Liu
> Fix For: 2.8.0
>
> Attachments: HDFS-8938.000.patch, HDFS-8938.001.patch,
> HDFS-8938.002.patch, HDFS-8938.003.patch, HDFS-8938.004.patch,
> HDFS-8938.005.patch, HDFS-8938.006.patch, HDFS-8938.007.patch,
> HDFS-8938.008.patch
>
>
> This jira proposes to refactor two inner static classes,
> {{BlockToMarkCorrupt}} and {{ReplicationWork}} from {{BlockManager}} to
> standalone classes. The refactor also improves readability by abstracting the
> complexity of scheduling and validating replications to corresponding helper
> methods.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)