[ 
https://issues.apache.org/jira/browse/AMBARI-16230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15269972#comment-15269972
 ] 

Hadoop QA commented on AMBARI-16230:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12802021/AMBARI-16230.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
                        Please justify why no new tests are needed for this 
patch.
                        Also please list what manual steps were performed to 
verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in 
ambari-server:

                  
org.apache.ambari.server.controller.internal.HostResourceProviderTest

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/6760//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/6760//console

This message is automatically generated.

> 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