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

Add TableMapping topology implementation to read host to rack mapping from a file

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.1, 0.20.2, 0.21.0
    • Fix Version/s: 2.0.0-alpha
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The default ScriptBasedMapping implementation of DNSToSwitchMapping for determining cluster topology has some drawbacks. Principally, it forks to an OS-specific script.

      This issue proposes two new Java implementations of DNSToSwitchMapping. TableMapping reads a two column text file that maps an IP or hostname to a rack ID. Ip4RangeMapping reads a three column text file where each line represents a start and end IP range plus a rack ID.

        Attachments

        1. HADOOP-7030-branch-1.patch
          11 kB
          Tom White
        2. HADOOP-7030.patch
          13 kB
          Tom White
        3. HADOOP-7030.patch
          13 kB
          Tom White
        4. HADOOP-7030.patch
          12 kB
          Tom White
        5. HADOOP-7030-2.patch
          29 kB
          Patrick Angeles
        6. HADOOP-7030.patch
          23 kB
          Patrick Angeles
        7. topology.patch
          22 kB
          Patrick Angeles

          Issue Links

            Activity

              People

              • Assignee:
                tomwhite Tom White
                Reporter:
                patrickangeles Patrick Angeles
              • Votes:
                0 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: