You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2018/10/29 09:54:01 UTC

[jira] [Created] (AMBARI-24840) Change Hostname does not honor uppercase hosts

Dmitry Lysnichenko created AMBARI-24840:
-------------------------------------------

             Summary: Change Hostname does not honor uppercase hosts
                 Key: AMBARI-24840
                 URL: https://issues.apache.org/jira/browse/AMBARI-24840
             Project: Ambari
          Issue Type: Bug
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko



During the [Ambari change hostname procedure|https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-administration/content/ch_changing_host_names.html], hostnames in configs when they were all uppercase are not being replaced.  I think the code is converting hosts to all lowercase to do replacements.  See:
https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/java/org/apache/ambari/server/update/HostUpdateHelper.java#L383-L393

Appears to affect 2.6.1 and 2.6.2, but I think we can make the fix in 2.7.1 and hotfix older versions if need be.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)