[
https://issues.apache.org/jira/browse/HDFS-9314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15007005#comment-15007005
]
Xiao Chen commented on HDFS-9314:
---------------------------------
Thanks [~mingma] for creating this, and nice work on HDFS-9313!
Looks like this is the same issue reported in HDFS-8770, as [~walter.k.su]
pointed out in there.
I attached an initial patch, following the idea [~aderen] posted in the other
JIRA which makes sense to me. It passes locally for the 4 tests extended from
{{BaseReplicationPolicyTest}}. Please review. Thank you.
> Improve BlockPlacementPolicyDefault's picking of excess replicas
> ----------------------------------------------------------------
>
> Key: HDFS-9314
> URL: https://issues.apache.org/jira/browse/HDFS-9314
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Ming Ma
> Attachments: HDFS-9314.001.patch
>
>
> The test case used in HDFS-9313 identified NullPointerException as well as
> the limitation of excess replica picking. If the current replicas are on
> {SSD(rack r1), DISK(rack 1), DISK(rack 2), DISK(rack 2)} and the storage
> policy changes to HOT_STORAGE_POLICY_ID, BlockPlacementPolicyDefault's won't
> be able to delete SSD replica.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)