[ https://issues.apache.org/jira/browse/HDFS-12008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16061156#comment-16061156 ]
Kihwal Lee commented on HDFS-12008: ----------------------------------- I changed the number of nodes from 20 (4 racks) to 100 (10 racks) and did evenly spreading nodes across racks. The result seems closer to the ideal value. || || 1.0f || 0.6f || | ideal | 75% | 65% | | trunk as is | 67.9% | 53.9% | | trunk w/change | 74.2% | 64.7% | I will update the patch so that the test will check for more realistic target percentage. > 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, RandomAllocationPolicy.png > > > 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