Dmitry Lysnichenko created AMBARI-20811:
-------------------------------------------

             Summary: Trying to upgrade HDF 2.0.2.0 to HDF 3.0.0.0 fails with 
NPE
                 Key: AMBARI-20811
                 URL: https://issues.apache.org/jira/browse/AMBARI-20811
             Project: Ambari
          Issue Type: Bug
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko
            Priority: Blocker



The following steps were followed.
1. Installed ambari 2.4.1.0
2. Installed HDF 2.0.2.0
3. Upgraded ambari to 2.5.0.3
4 Upgraded mpack to 3.0.0.0-169 is installed.
5. Ambari launches successfully and HDF 2.0.2.0 shows correctly
6. Registered and installed the new version 3.0.0.0-169
7. Click on express upgrade. Throws 500

Ambari-server has the following exception in the logs
{code:None}
11 Apr 2017 08:11:59,794 ERROR [ambari-client-thread-194] ContainerResponse:419 
- The RuntimeException could not be mapped to a response, re-throwing to the 
HTTP container
java.lang.NullPointerException
at 
org.apache.ambari.server.state.stack.ConfigUpgradePack.merge(ConfigUpgradePack.java:124)
at 
org.apache.ambari.server.controller.internal.UpgradeResourceProvider$ConfigurationPackBuilder.build(UpgradeResourceProvider.java:1839)
at 
org.apache.ambari.server.controller.internal.UpgradeResourceProvider.createUpgrade(UpgradeResourceProvider.java:812)
at 
org.apache.ambari.server.controller.internal.UpgradeResourceProvider$1.invoke(UpgradeResourceProvider.java:382)
at 
org.apache.ambari.server.controller.internal.UpgradeResourceProvider$1.invoke(UpgradeResourceProvider.java:350)
at 
org.apache.ambari.server.controller.internal.AbstractResourceProvider.invokeWithRetry(AbstractResourceProvider.java:455)
at 
org.apache.ambari.server.controller.internal.AbstractResourceProvider.createResources(AbstractResourceProvider.java:278)
at 
org.apache.ambari.server.controller.internal.UpgradeResourceProvider.createResources(UpgradeResourceProvider.java:350)
at 
org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(ClusterControllerImpl.java:298)
at 
org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.create(PersistenceManagerImpl.java:97)
at 
org.apache.ambari.server.api.handlers.CreateHandler.persist(CreateHandler.java:37)
at 
org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:73)
at 
org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:144)
at 
org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:126)
at 
org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:90)
at 
org.apache.ambari.server.api.services.UpgradeService.createUpgrade(UpgradeService.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
{code}





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to