You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Suresh Subbiah (JIRA)" <ji...@apache.org> on 2015/08/27 15:59:46 UTC
[jira] [Closed] (TRAFODION-1150) LP Bug: 1442402 - DCS looks for
"." in hostname when dcs.dns.interface is specified
[ 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)