Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5595

NameNode does not need to run a replicator to choose a random DataNode

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              hairong Hairong Kuang
              Reporter:
              hairong Hairong Kuang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: