[
https://issues.apache.org/jira/browse/AMBARI-12353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14620449#comment-14620449
]
Stephan Adler commented on AMBARI-12353:
----------------------------------------
I was able to work around this problem by patching Facter.py in ambari-agent by
patching
# Returns the FQDN of the host
def getFqdn(self):
return socket.getfqdn()
to
# Returns the FQDN of the host
def getFqdn(self):
return socket.getfqdn().lower()
however, this seems extremely hacky to me, therefore I would not propose this
as patch/fix.
> Hostname case sensitivity
> -------------------------
>
> Key: AMBARI-12353
> URL: https://issues.apache.org/jira/browse/AMBARI-12353
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 1.7.0
> Reporter: Stephan Adler
>
> This is a potential duplicate to AMBARI-6521
> The whole Ambari suite seems to be troubled by case sensitive hostnames. As
> hostnames are allowed to contain upper or lower case chars, but all string
> comparisons are excepted to be case insensitive, this causes erroneous
> behavior.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)