Hadoop Common
  1. Hadoop Common
  2. HADOOP-9369

DNS#reverseDns() can return hostname with . appended at the end

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.1, 2.0.3-alpha, 0.23.5
    • Fix Version/s: 1.2.0, 2.1.0-beta
    • Component/s: net
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      DNS#reverseDns uses javax.naming.InitialDirContext to do a reverse DNS lookup. This can sometimes return hostnames with a . at the end.

      Saw this happen on hadoop-1: two nodes with tasktracker.dns.interface set to eth0

      1. hadoop-9369.patch
        0.8 kB
        Karthik Kambatla
      2. hadoop-9369-branch1.patch
        0.6 kB
        Karthik Kambatla
      3. hadoop-9369.patch
        0.8 kB
        Karthik Kambatla

        Issue Links

          Activity

            People

            • Assignee:
              Karthik Kambatla
              Reporter:
              Karthik Kambatla
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development