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

          Karthik Kambatla created issue -
          Karthik Kambatla made changes -
          Field Original Value New Value
          Attachment hadoop-9369.patch [ 12572260 ]
          Karthik Kambatla made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Karthik Kambatla made changes -
          Attachment hadoop-9369-branch1.patch [ 12572262 ]
          Karthik Kambatla made changes -
          Attachment hadoop-9369.patch [ 12572263 ]
          Aaron T. Myers made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 1.2.0 [ 12321659 ]
          Fix Version/s 2.0.5-beta [ 12324030 ]
          Resolution Fixed [ 1 ]
          Eli Collins made changes -
          Link This issue relates to HBASE-7693 [ HBASE-7693 ]
          Matt Foley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development