[
https://issues.apache.org/jira/browse/HADOOP-5595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695438#action_12695438
]
Hudson commented on HADOOP-5595:
--------------------------------
Integrated in Hadoop-trunk #796 (See
[http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/796/])
. NameNode does not need to run a replicator to choose a random DataNode.
Contributed by Hairong Kuang.
> NameNode does not need to run a replicator to choose a random DataNode
> ----------------------------------------------------------------------
>
> Key: HADOOP-5595
> URL: https://issues.apache.org/jira/browse/HADOOP-5595
> Project: Hadoop Core
> Issue Type: Improvement
> Components: dfs
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Fix For: 0.21.0
>
> Attachments: randomDataNode.patch
>
>
> FSNamesystem#getRandomDatanode uses a replicator to choose a random DataNode.
> It's an overkill. Instead, Topology#chooseRandom is a much light-weight way
> to choose a random DataNode from a cluster map.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.