ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Re: Review Request 42649: Cannot do RU or EU due to exception on server-side.
Date Fri, 22 Jan 2016 12:12:14 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42649/#review115834
-----------------------------------------------------------

Ship it!


Ship It!

- Dmytro Sen


On Янв. 22, 2016, 12:11 п.п., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42649/
> -----------------------------------------------------------
> 
> (Updated Янв. 22, 2016, 12:11 п.п.)
> 
> 
> Review request for Ambari and Dmytro Sen.
> 
> 
> Bugs: AMBARI-14771
>     https://issues.apache.org/jira/browse/AMBARI-14771
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/checks/PreviousUpgradeCompleted.java
dfe17e6 
> 
> Diff: https://reviews.apache.org/r/42649/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message