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

Olivér Szabó updated AMBARI-16230:
----------------------------------
    Status: Patch Available  (was: Open)

> Sporadic errors when deploying the cluster
> ------------------------------------------
>
>                 Key: AMBARI-16230
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16230
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Olivér Szabó
>            Assignee: Olivér Szabó
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-16230.patch
>
>
> I see the following errors when the cluster is being installed. Looks like 
> some minor issue around alerts being added before LOGSEARCH (or any other) 
> service is added. Eventually, alerts work fine.
> {code}
> 2016-05-01 09:56:50,000 ERROR pool-2-thread-1 AlertServiceStateListener - 
> Unable to create a default alert group for LOGSEARCH
> org.apache.ambari.server.AmbariException: Unable to create a default alert 
> group for unknown service LOGSEARCH in cluster c1
>       at 
> org.apache.ambari.server.orm.dao.AlertDispatchDAO.createDefaultGroup(AlertDispatchDAO.java:477)
>       at 
> org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:128)
>       at 
> org.apache.ambari.server.events.listeners.alerts.AlertServiceStateListener.onAmbariEvent(AlertServiceStateListener.java:133)
>       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.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
>       at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
>       at 
> com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.java:34)
>       at 
> com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:117)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at java.lang.Thread.run(Thread.java:745) 
> 2016-05-01 09:56:50,000 ERROR pool-2-thread-1 HostVersionOutOfSyncListener - 
> Can not update hosts about out of sync
> org.apache.ambari.server.ServiceNotFoundException: Service not found, 
> clusterName=c1, serviceName=LOGSEARCH
>       at 
> org.apache.ambari.server.state.cluster.ClusterImpl.getService(ClusterImpl.java:1054)
>       at 
> org.apache.ambari.server.events.listeners.upgrade.HostVersionOutOfSyncListener.onServiceEvent(HostVersionOutOfSyncListener.java:139)
>       at 
> org.apache.ambari.server.events.listeners.upgrade.HostVersionOutOfSyncListener$$EnhancerByGuice$$3379de27.CGLIB$onServiceEvent$1(<generated>)
>       at 
> org.apache.ambari.server.events.listeners.upgrade.HostVersionOutOfSyncListener$$EnhancerByGuice$$3379de27$$FastClassByGuice$$a8e0dec5.invoke(<generated>)
>       at 
> com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
>       at 
> com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:72)
>       at 
> org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:128)
>       at 
> com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:72)
>       at 
> com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:52)
>       at 
> org.apache.ambari.server.events.listeners.upgrade.HostVersionOutOfSyncListener$$EnhancerByGuice$$3379de27.onServiceEvent(<generated>)
>       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.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
>       at 
> com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
>       at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
>       at 
> com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.java:34)
>       at 
> com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:117)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at java.lang.Thread.run(Thread.java:745) 
> {code}



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

Reply via email to