[ https://issues.apache.org/jira/browse/HDFS-14913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16954858#comment-16954858 ]
Ayush Saxena commented on HDFS-14913: ------------------------------------- Thanx [~elgoiri] for the review. Have extracted the logic into a function. In words it just appends a slash at end the checks are just to check if it is root or already having slash at end, else appends slash. Pls Review!!! > Correct the value of available count in > DFSNetworkTopology#chooseRandomWithStorageType() > ----------------------------------------------------------------------------------------- > > Key: HDFS-14913 > URL: https://issues.apache.org/jira/browse/HDFS-14913 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Ayush Saxena > Assignee: Ayush Saxena > Priority: Major > Attachments: HDFS-14913-01.patch, HDFS-14913-02.patch > > > Presently if excluded scope is /default/rack1 and excluded node is > /default/rack10/node. Then the available count is not deducted. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org