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

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

Attach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment