Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Cloudbreak error: "Ambari cluster could not be stopped. Reason: Cannot get property 'items' on null object"

Cloudbreak error: "Ambari cluster could not be stopped. Reason: Cannot get property 'items' on null object"

New Contributor

Hello,

I'm using Cloudbreak 1.3.0 with AWS. I've created a new cluster, no problems there (for now).

When I click "STOP" on the cluster (in Cloudbreak) I get this error:

available: Ambari cluster could not be stopped. Reason: Cannot get property 'items' on null object

Any ideas?

Thanks

9 REPLIES 9

Re: Cloudbreak error: "Ambari cluster could not be stopped. Reason: Cannot get property 'items' on null object"

Contributor

Hi,

Can you send us the full stacktrace from the Cloudbreak log?

thanks

Re: Cloudbreak error: "Ambari cluster could not be stopped. Reason: Cannot get property 'items' on null object"

New Contributor

Unfortunately there isn't much more:

7/27/2016 11:48:14 AM cluster-a - update in progress: Stopping Ambari cluster

7/27/2016 11:48:14 AM cluster-a - stop requested: Cluster infrastructure stop requested 7/27/2016 11:50:15 AM cluster-a - available: Ambari cluster could not be stopped. Reason: Cannot get property 'items' on null object

Re: Cloudbreak error: "Ambari cluster could not be stopped. Reason: Cannot get property 'items' on null object"

Contributor

Do you have a cbd deployment of your own or are you using a hosted version of Cloudbreak?

Re: Cloudbreak error: "Ambari cluster could not be stopped. Reason: Cannot get property 'items' on null object"

New Contributor

I've deployed it on my own

Re: Cloudbreak error: "Ambari cluster could not be stopped. Reason: Cannot get property 'items' on null object"

Contributor

Can you send then the full Cloudbreak logs from the deployment?

docker logs cbreak_cloudbreak_1

Re: Cloudbreak error: "Ambari cluster could not be stopped. Reason: Cannot get property 'items' on null object"

Expert Contributor

It's most likely that Cloudbreak tries to stop the services in Ambari and one of them is irresponsible. Can you please make sure that all service operates normally or stop them manually and then try to stop from Cloudbreak.

Re: Cloudbreak error: "Ambari cluster could not be stopped. Reason: Cannot get property 'items' on null object"

New Contributor

I'm also hitting the same issue afer which cloudbreak becomes completely unstable. I'm using cloudbreak version 1.6.1

cloudbreak_1 | java.lang.NullPointerException: Cannot get property 'items' on null object cloudbreak_1 | at org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:60) cloudbreak_1 | at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:172) cloudbreak_1 | at org.codehaus.groovy.runtime.callsite.NullCallSite.getProperty(NullCallSite.java:47) cloudbreak_1 | at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296) cloudbreak_1 | at com.sequenceiq.ambari.client.services.ServiceAndHostService$Trait$Helper.getHostStatuses(ServiceAndHostService.groovy:92) cloudbreak_1 | at com.sequenceiq.ambari.client.services.ServiceAndHostService$Trait$Helper$getHostStatuses.call(Unknown Source) cloudbreak_1 | at com.sequenceiq.ambari.client.AmbariClient.getHostStatuses(AmbariClient.groovy) cloudbreak_1 | at com.sequenceiq.cloudbreak.service.cluster.AmbariClusterService.updateClusterMetadata(AmbariClusterService.java:426) cloudbreak_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) cloudbreak_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) cloudbreak_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) cloudbreak_1 | at java.lang.reflect.Method.invoke(Method.java:498) cloudbreak_1 | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) cloudbreak_1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) cloudbreak_1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) cloudbreak_1 | at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) cloudbreak_1 | at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) cloudbreak_1 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) cloudbreak_1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) cloudbreak_1 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) cloudbreak_1 | at com.sun.proxy.$Proxy180.updateClusterMetadata(Unknown Source) cloudbreak_1 | at com.sequenceiq.cloudbreak.service.cluster.flow.status.AmbariClusterStatusUpdater.updateClusterStatus(AmbariClusterStatusUpdater.java:54) cloudbreak_1 | at com.sequenceiq.cloudbreak.reactor.ClusterSyncHandler.accept(ClusterSyncHandler.java:41) cloudbreak_1 | at com.sequenceiq.cloudbreak.reactor.ClusterSyncHandler.accept(ClusterSyncHandler.java:18) cloudbreak_1 | at reactor.bus.EventBus$3.accept(EventBus.java:317) cloudbreak_1 | at reactor.bus.EventBus$3.accept(EventBus.java:310) cloudbreak_1 | at reactor.bus.routing.ConsumerFilteringRouter.route(ConsumerFilteringRouter.java:72) cloudbreak_1 | at reactor.bus.routing.TraceableDelegatingRouter.route(TraceableDelegatingRouter.java:51) cloudbreak_1 | at reactor.bus.EventBus.accept(EventBus.java:591) cloudbreak_1 | at reactor.bus.EventBus.accept(EventBus.java:63) cloudbreak_1 | at reactor.core.dispatch.AbstractLifecycleDispatcher.route(AbstractLifecycleDispatcher.java:160) cloudbreak_1 | at reactor.core.dispatch.MultiThreadDispatcher$MultiThreadTask.run(MultiThreadDispatcher.java:74) cloudbreak_1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) cloudbreak_1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) cloudbreak_1 | at java.lang.Thread.run(Thread.java:745)

Re: Cloudbreak error: "Ambari cluster could not be stopped. Reason: Cannot get property 'items' on null object"

New Contributor

I'm also hitting this issue, traced it to:

cloudbreak_1   | 2018-01-22 15:22:16,841 [reactorDispatcher-95] getRawResource:79 INFO  c.s.a.c.AmbariClientUtils - [owner:spring] [type:springLog] [id:] [name:] AmbariClient getRawResource, resourceRequestMap: {path=https://10.14.0.4:9443/api/v1/clusters/null/hosts, query={fields=host_components/HostRoles/state/*}}
cloudbreak_1   | javax.net.ssl.SSLPeerUnverifiedException: Certificate for <10.14.0.4> doesn't match any of the subject alternative names: []

Don't know how to get the correct cert into the store, please help!! @khorvath

Re: Cloudbreak error: "Ambari cluster could not be stopped. Reason: Cannot get property 'items' on null object"

@Nic Swart could you please open a separate issue if your issue still persists? This seems to be not connected with the root question.

Don't have an account?
Coming from Hortonworks? Activate your account here