[
https://issues.apache.org/jira/browse/HADOOP-5595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695150#action_12695150
]
Hairong Kuang edited comment on HADOOP-5595 at 4/2/09 3:15 PM:
---------------------------------------------------------------
Failed tasks were not related to this change. The change is too trivial to have
a unit test.
I've committed this.
was (Author: hairong):
Failed tasks were not related to this change. The change is too trivial to
have a unit test.
> 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.