Uploaded image for project: 'Apache Trafodion'
  1. Apache Trafodion
  2. TRAFODION-1150

LP Bug: 1442402 - DCS looks for "." in hostname when dcs.dns.interface is specified

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1 (pre-incubation)
    • Component/s: None
    • Labels:
      None

      Description

      This method below always looks for "." in InetAdress hostname. Need to remove the check so systems that return short hostnames that don't contain any "." will work.

      public void getCanonicalHostName(NetworkInterface ni, InetAddress inet)
      throws Exception {
      if (inet.getCanonicalHostName().contains("."))

      { intHostAddress = extHostAddress = inet.getHostAddress(); canonicalHostName = inet.getCanonicalHostName(); LOG.info("Using interface [" + ni.getDisplayName() + "," + canonicalHostName + "," + extHostAddress + "]"); ia = inet; }

      }

        Attachments

          Activity

            People

            • Assignee:
              matbrown Matt Brown
              Reporter:
              matbrown Matt Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: