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

Kihwal Lee commented on HDFS-12008:
-----------------------------------

This doesn't look right... 

{{TestAvailableSpaceBlockPlacementPolicy}} passed when I tried this patch on 
branch-2.8. BUT, the test result was wrong and the test case was testing for 
the wrong behavior. The patch maintained the wrong behavior, so the test was 
passing. 

The patch has a simple bug, but that is not the cause of the test failure in 
trunk. 

> Improve the available-space block placement policy
> --------------------------------------------------
>
>                 Key: HDFS-12008
>                 URL: https://issues.apache.org/jira/browse/HDFS-12008
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: block placement
>    Affects Versions: 2.8.1
>            Reporter: Kihwal Lee
>            Assignee: Kihwal Lee
>         Attachments: HDFS-12008.patch
>
>
> AvailableSpaceBlockPlacementPolicy currently picks two nodes unconditionally, 
> then picks one node. It could avoid picking the second node when not 
> necessary.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to