You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:20:12 UTC

[jira] [Created] (TRAFODION-1150) LP Bug: 1442402 - DCS looks for "." in hostname when dcs.dns.interface is specified

Alice Chen created TRAFODION-1150:
-------------------------------------

             Summary: LP Bug: 1442402 - DCS looks for "." in hostname when dcs.dns.interface is specified
                 Key: TRAFODION-1150
                 URL: https://issues.apache.org/jira/browse/TRAFODION-1150
             Project: Apache Trafodion
          Issue Type: Bug
            Reporter: Matt Brown
            Assignee: Matt Brown
            Priority: Blocker
             Fix For: 1.1 (pre-incubation)


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;
        }    }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)