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 New Feature
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development