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

Unable to Begin An Upgrade Between Stack Versions Due To Assumed Stack Names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.2
    • 2.5.2
    • ambari-server
    • None

    Description

      When attempting to begin an upgrade between stack versions from different vendors (ie HDP and BigInsights), various steps will fail because the Ambari Server code assumes that the stack name is not changing. Therefore, actions like finding the right upgrade pack will fail with a NullPointerException

      java.lang.NullPointerException
      	at org.apache.ambari.server.state.UpgradeContext.setSourceAndTargetStacks(UpgradeContext.java:277)
      

      We can work around this temporarily by falling back to querying by the version number directly.

      Attachments

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              jonathanhurley Jonathan Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: