[
https://issues.apache.org/jira/browse/HDFS-8938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720575#comment-14720575
]
Haohui Mai commented on HDFS-8938:
----------------------------------
+1 on the v8 patch. Ran failed tests locally and all passed.
I'll commit it shortly.
> 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
> 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)