XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: HDFS-7285
    • Component/s: None
    • Labels:
      None

      Description

      The existing two NetworkTopology.chooseRandom(..) API support choosing node from scope and choosing outside scope. BlockPlacementPolicyDefault class use these two API to choose node from one rack or choose outside one rack.
      We want to implement a new placement policy called BlockPlacementPolicyFaultTolerant which tries its best to place replicas to most racks. To achieve this, We need to know how many replicas each rack has. And first, we need to get all racks.

        Attachments

        1. HADOOP-11676.patch
          5 kB
          Walter Su
        2. HADOOP-11676.002.patch
          5 kB
          Walter Su

          Activity

            People

            • Assignee:
              walter.k.su Walter Su
              Reporter:
              walter.k.su Walter Su
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: