Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6FC6E200AF8 for ; Thu, 5 May 2016 13:33:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6EA03160A04; Thu, 5 May 2016 11:33:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C105C160A02 for ; Thu, 5 May 2016 13:33:13 +0200 (CEST) Received: (qmail 57020 invoked by uid 500); 5 May 2016 11:33:13 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 57003 invoked by uid 99); 5 May 2016 11:33:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2016 11:33:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D02D12C1F5C for ; Thu, 5 May 2016 11:33:12 +0000 (UTC) Date: Thu, 5 May 2016 11:33:12 +0000 (UTC) From: =?utf-8?Q?Oliv=C3=A9r_Szab=C3=B3_=28JIRA=29?= To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-16230) Sporadic errors when deploying the cluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 05 May 2016 11:33:14 -0000 [ https://issues.apache.org/jira/browse/AMBARI-16230?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliv=C3=A9r Szab=C3=B3 updated AMBARI-16230: ---------------------------------- Attachment: (was: AMBARI-16230.patch) > 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=C3=A9r Szab=C3=B3 > Assignee: Oliv=C3=A9r Szab=C3=B3 > Fix For: 2.4.0 > > Attachments: AMBARI-16230.patch > > > I see the following errors when the cluster is being installed. Looks lik= e 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 aler= t group for unknown service LOGSEARCH in cluster c1 > =09at org.apache.ambari.server.orm.dao.AlertDispatchDAO.createDefaultGrou= p(AlertDispatchDAO.java:477) > =09at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(Am= bariJpaLocalTxnInterceptor.java:128) > =09at org.apache.ambari.server.events.listeners.alerts.AlertServiceStateL= istener.onAmbariEvent(AlertServiceStateListener.java:133) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:62) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:43) > =09at java.lang.reflect.Method.invoke(Method.java:497) > =09at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscri= ber.java:74) > =09at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) > =09at com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.j= ava:34) > =09at com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:1= 17) > =09at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecuto= r.java:1142) > =09at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut= or.java:617) > =09at java.lang.Thread.run(Thread.java:745)=20 > 2016-05-01 09:56:50,000 ERROR pool-2-thread-1 HostVersionOutOfSyncListene= r - Can not update hosts about out of sync > org.apache.ambari.server.ServiceNotFoundException: Service not found, clu= sterName=3Dc1, serviceName=3DLOGSEARCH > =09at org.apache.ambari.server.state.cluster.ClusterImpl.getService(Clust= erImpl.java:1054) > =09at org.apache.ambari.server.events.listeners.upgrade.HostVersionOutOfS= yncListener.onServiceEvent(HostVersionOutOfSyncListener.java:139) > =09at org.apache.ambari.server.events.listeners.upgrade.HostVersionOutOfS= yncListener$$EnhancerByGuice$$3379de27.CGLIB$onServiceEvent$1() > =09at org.apache.ambari.server.events.listeners.upgrade.HostVersionOutOfS= yncListener$$EnhancerByGuice$$3379de27$$FastClassByGuice$$a8e0dec5.invoke(<= generated>) > =09at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(Met= hodProxy.java:228) > =09at com.google.inject.internal.InterceptorStackCallback$InterceptedMeth= odInvocation.proceed(InterceptorStackCallback.java:72) > =09at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(Am= bariJpaLocalTxnInterceptor.java:128) > =09at com.google.inject.internal.InterceptorStackCallback$InterceptedMeth= odInvocation.proceed(InterceptorStackCallback.java:72) > =09at com.google.inject.internal.InterceptorStackCallback.intercept(Inter= ceptorStackCallback.java:52) > =09at org.apache.ambari.server.events.listeners.upgrade.HostVersionOutOfS= yncListener$$EnhancerByGuice$$3379de27.onServiceEvent() > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:62) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:43) > =09at java.lang.reflect.Method.invoke(Method.java:497) > =09at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscri= ber.java:74) > =09at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(= SynchronizedEventSubscriber.java:47) > =09at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) > =09at com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.j= ava:34) > =09at com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:1= 17) > =09at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecuto= r.java:1142) > =09at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut= or.java:617) > =09at java.lang.Thread.run(Thread.java:745)=20 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)