Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24840

Change Hostname does not honor uppercase hosts

    XMLWordPrintableJSON

Details

    Description

      During the Ambari change hostname procedure, 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 up from 2.6.1 and 2.6.2

      Attachments

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h