You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2017/06/26 16:00:00 UTC

[jira] [Created] (AMBARI-21346) Unable to Begin An Upgrade Between Stack Versions Due To Assumed Stack Names

Jonathan Hurley created AMBARI-21346:
----------------------------------------

             Summary: Unable to Begin An Upgrade Between Stack Versions Due To Assumed Stack Names
                 Key: AMBARI-21346
                 URL: https://issues.apache.org/jira/browse/AMBARI-21346
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.5.2
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
            Priority: Blocker
             Fix For: 2.5.2


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

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

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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)