[
https://issues.apache.org/jira/browse/TRAFODION-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Subbiah closed TRAFODION-1150.
-------------------------------------
> 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)