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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.1, 2.0.3-alpha, 0.23.5
    • 1.2.0, 2.1.0-beta
    • net
    • None
    • 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

      Attachments

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

        Issue Links

          Activity

            People

              kasha Karthik Kambatla
              kasha Karthik Kambatla
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: