[
https://issues.apache.org/jira/browse/TRAFODION-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14716707#comment-14716707
]
Suresh Subbiah commented on TRAFODION-1150:
-------------------------------------------
Matt Brown (mattbrown-2) on 2015-04-09
Changed in trafodion:
status: New → In Progress
Trafodion-Gerrit (neo-devtools) wrote on 2015-04-09: Fix proposed to dcs
(master) #1
Fix proposed to branch: master
Review: https://review.trafodion.org/1487
Trafodion-Gerrit (neo-devtools) wrote on 2015-04-10: Fix merged to dcs (master)
#2
Reviewed: https://review.trafodion.org/1487
Committed:
https://github.com/trafodion/dcs/commit/0e928ab0aa3d6902381eb13e3de6bd57c05f9848
Submitter: Trafodion Jenkins
Branch: master
commit 0e928ab0aa3d6902381eb13e3de6bd57c05f9848
Author: matbrown <email address hidden>
Date: Thu Apr 9 23:15:36 2015 +0000
Removed check for period in FQDN
When property dcs.dns.interface is specified some systems return
only the short DNS name. DCS assume that returned name always
contains at least one "." This caused a null value to be inserted
into zookeeper nodes for the hostname.
closes bug: #1442402
Change-Id: Idb9abd3c63bba1293adb4797902f7128e3c3f07c
Changed in trafodion:
status: In Progress → Fix Committed
Matt Brown (mattbrown-2) on 2015-05-12
Changed in trafodion:
status: Fix Committed → Fix Released
> 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)