[ 
https://issues.apache.org/jira/browse/HDFS-8073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14484515#comment-14484515
 ] 

Walter Su commented on HDFS-8073:
---------------------------------

Hi, [~szetszwo]! I think let numOfReplicas=0 is useless. I removed it so the 
code looks clean. 
Sorry about that. I'll leave it alone. Now 003 patch only moves code.

> 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)

Reply via email to