You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2016/01/22 13:05:40 UTC

[jira] [Updated] (AMBARI-14771) Cannot do RU or EU due to exception on server-side.

     [ https://issues.apache.org/jira/browse/AMBARI-14771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk updated AMBARI-14771:
-------------------------------------
    Attachment: AMBARI-14771.patch

> Cannot do RU or EU due to exception on server-side.
> ---------------------------------------------------
>
>                 Key: AMBARI-14771
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14771
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.2.1
>
>         Attachments: AMBARI-14771.patch
>
>
>     
>     
>     22 Jan 2016 11:33:44,785 ERROR [qtp-ambari-client-21] CheckHelper:72 - Check PREVIOUS_UPGRADE_COMPLETED failed
>     java.lang.NullPointerException
>             at org.apache.ambari.server.checks.PreviousUpgradeCompleted.perform(PreviousUpgradeCompleted.java:115)
>             at org.apache.ambari.server.state.CheckHelper.performChecks(CheckHelper.java:61)
>             at org.apache.ambari.server.controller.internal.PreUpgradeCheckResourceProvider.getResources(PreUpgradeCheckResourceProvider.java:194)
>             at org.apache.ambari.server.controller.internal.ClusterControllerImpl$ExtendedResourceProviderWrapper.queryForResources(ClusterControllerImpl.java:945)
>             at org.apache.ambari.server.controller.internal.ClusterControllerImpl.getResources(ClusterControllerImpl.java:132)
>             at org.apache.ambari.server.api.query.QueryImpl.doQuery(QueryImpl.java:508)
>             at org.apache.ambari.server.api.query.QueryImpl.queryForResources(QueryImpl.java:380)
>             at org.apache.ambari.server.api.query.QueryImpl.execute(QueryImpl.java:216)
>             at org.apache.ambari.server.api.handlers.ReadHandler.handleRequest(ReadHandler.java:68)
>             at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135)
>             at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:106)
>             at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:75)
>             at org.apache.ambari.server.api.services.PreUpgradeCheckService.getPreUpgradeChecks(PreUpgradeCheckService.java:62)
>             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:497)
>             at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>             at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
>             at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
>             at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
>             at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)
>             at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>             at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
>             at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>             at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
>             at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
>             at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
>     
> I tried to do upgrade from 2.3 to 2.4 and after install package, could not
> proceed on 'perform upgrade' step.  
> On the cluster I had installed ZK and HDFS only, having 1 node.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)