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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20.1, 0.20.2, 0.21.0
    • 2.0.0-alpha
    • None
    • None
    • 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. topology.patch
          22 kB
          Patrick Angeles
        2. HADOOP-7030-branch-1.patch
          11 kB
          Thomas White
        3. HADOOP-7030-2.patch
          29 kB
          Patrick Angeles
        4. HADOOP-7030.patch
          23 kB
          Patrick Angeles
        5. HADOOP-7030.patch
          12 kB
          Thomas White
        6. HADOOP-7030.patch
          13 kB
          Thomas White
        7. HADOOP-7030.patch
          13 kB
          Thomas White

        Issue Links

          Activity

            People

              tomwhite Thomas White
              patrickangeles Patrick Angeles
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: