[ https://issues.apache.org/jira/browse/HDFS-12008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16060031#comment-16060031 ]
Kihwal Lee commented on HDFS-12008: ----------------------------------- Hmm. Trunk is doing what's expected. 1) choose a random node. So the two nodes can come from any rack. 2) choose one from remote rack. The two nodes can again be picked from any rack. 3) Pick a node that is in the rack from 2). I see two nodes being picked from the same rack that the node picked in 2) belongs to. So the behavior of trunk is correct. I will look at branch-2.8 more. > 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