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 31826: Sometimes adding Ranger process hangs
Date Sat, 07 Mar 2015 19:55:34 GMT

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

(Updated Март 7, 2015, 7:55 п.п.)


Review request for Ambari, Alejandro Fernandez and Dmitro Lisnichenko.


Bugs: AMBARI-9974
    https://issues.apache.org/jira/browse/AMBARI-9974


Repository: ambari


Description
-------

Was deployed cluster with HDFS, MAPREDUCE2, YARN, ZOOKEEPER, AMS, TEZ, SPARK. After that was
tried to add Ranger service. This process was hanged on 'Install, Start and Test' page of
'Add Service Wizard' window.
Rarely reproduced.
Was reproduced twice in stacks.
Logs
java.lang.NullPointerException
	at org.apache.ambari.server.state.svccomphost.ServiceComponentHostImpl.getStackVersion(ServiceComponentHostImpl.java:1017)
	at org.apache.ambari.server.state.svccomphost.ServiceComponentHostImpl.convertToResponse(ServiceComponentHostImpl.java:1107)
	at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getHostComponents(AmbariManagementControllerImpl.java:1046)
	at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getHostComponents(AmbariManagementControllerImpl.java:2623)
	at org.apache.ambari.server.controller.internal.HostComponentResourceProvider$2.invoke(HostComponentResourceProvider.java:200)
	at org.apache.ambari.server.controller.internal.HostComponentResourceProvider$2.invoke(HostComponentResourceProvider.java:197)
	at org.apache.ambari.server.controller.internal.AbstractResourceProvider.getResources(AbstractResourceProvider.java:302)
	at org.apache.ambari.server.controller.internal.HostComponentResourceProvider.getResources(HostComponentResourceProvider.java:197)
	at org.apache.ambari.server.controller.internal.AbstractProviderModule.initProviderMaps(AbstractProviderModule.java:695)
	at org.apache.ambari.server.controller.internal.AbstractProviderModule.checkInit(AbstractProviderModule.java:647)
	at org.apache.ambari.server.controller.internal.AbstractProviderModule.getMetricsServiceType(AbstractProviderModule.java:247)
	at org.apache.ambari.server.controller.metrics.MetricsPropertyProviderProxy.populateResources(MetricsPropertyProviderProxy.java:164)
	at org.apache.ambari.server.controller.internal.StackDefinedPropertyProvider.populateResources(StackDefinedPropertyProvider.java:208)
	at org.apache.ambari.server.controller.internal.ClusterControllerImpl.populateResources(ClusterControllerImpl.java:146)
	at org.apache.ambari.server.api.query.QueryImpl.queryForResources(QueryImpl.java:406)
	at org.apache.ambari.server.api.query.QueryImpl.execute(QueryImpl.java:217)
	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:103)
	at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:72)
	at org.apache.ambari.server.api.services.ComponentService.getComponents(ComponentService.java:97)
	at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	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:288)
	at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
	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)


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/state/StackId.java 0ac1ddb 
  ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
869c475 

Diff: https://reviews.apache.org/r/31826/diff/


Testing (updated)
-------

[INFO] Ambari Main ....................................... SUCCESS [3.556s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.045s]
[INFO] Ambari Web ........................................ SUCCESS [35.633s]
[INFO] Ambari Views ...................................... SUCCESS [2.131s]
[INFO] Ambari Admin View ................................. SUCCESS [9.857s]
[INFO] Ambari Metrics Common ............................. SUCCESS [1.680s]
[INFO] Ambari Server ..................................... SUCCESS [1:15:39.446s]
[INFO] Ambari Agent ...................................... SUCCESS [8.975s]
[INFO] Ambari Client ..................................... SUCCESS [0.048s]
[INFO] Ambari Python Client .............................. SUCCESS [0.259s]
[INFO] Ambari Groovy Client .............................. SUCCESS [10.806s]
[INFO] Ambari Shell ...................................... SUCCESS [0.033s]
[INFO] Ambari Python Shell ............................... SUCCESS [0.047s]
[INFO] Ambari Groovy Shell ............................... SUCCESS [6.890s]


Thanks,

Dmytro Sen


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