[
https://issues.apache.org/jira/browse/HDFS-8073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14484525#comment-14484525
]
Tsz Wo Nicholas Sze commented on HDFS-8073:
-------------------------------------------
We does need numOfReplicas = requiredStorageTypes.size(), since it is possible
that requiredStorageTypes.size() < (original) numOfReplicas.
+1 the new patch looks good.
> Split BlockPlacementPolicyDefault.chooseTarget(..) so it can be easily
> overrided.
> ---------------------------------------------------------------------------------
>
> Key: HDFS-8073
> URL: https://issues.apache.org/jira/browse/HDFS-8073
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Reporter: Walter Su
> Assignee: Walter Su
> Priority: Trivial
> Attachments: HDFS-8073.001.patch, HDFS-8073.002.patch,
> HDFS-8073.003.patch
>
>
> We want to implement a placement policy( eg. HDFS-7891) based on default
> policy. It'll be easier if we could split
> BlockPlacementPolicyDefault.chooseTarget(..).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)