Siddharth Wagle created AMBARI-7822:
---------------------------------------
Summary: Events with Service Checks results in Exceptions in log
Key: AMBARI-7822
URL: https://issues.apache.org/jira/browse/AMBARI-7822
Project: Ambari
Issue Type: Task
Components: ambari-server
Affects Versions: 1.7.0
Reporter: Siddharth Wagle
Assignee: Siddharth Wagle
Fix For: 1.7.0
Component is null since it is a service check action.
{code}
4:33:08,488 INFO [qtp1940009821-1793] AmbariManagementControllerImpl:2539 -
Received action execution request, clusterName=cl1, request=isCommand :true,
action :null, command :WEBHCAT_SERVICE_CHECK, inputs :{}, resourceFilters:
[RequestResourceFilter{serviceName='WEBHCAT', componentName='null',
hostNames=[]}], clusterName :cl1
14:33:08,493 INFO [qtp1940009821-1793] RoleCommandOrder:207 - Role command
order info was loaded from file:
/var/lib/ambari-server/resources/stacks/HDP/2.1/role_command_order.json
14:33:08,558 ERROR [Thread-21] ClusterImpl:1452 - ServiceComponentHost lookup
exception
org.apache.ambari.server.ServiceComponentNotFoundException: ServiceComponent
not found, clusterName=cl1, serviceName=WEBHCAT, serviceComponentName=null
at
org.apache.ambari.server.state.ServiceImpl.getServiceComponent(ServiceImpl.java:279)
at
org.apache.ambari.server.state.cluster.ClusterImpl.processServiceComponentHostEvents(ClusterImpl.java:1448)
at
org.apache.ambari.server.state.cluster.ClusterImpl$$EnhancerByGuice$$9448771b.CGLIB$processServiceComponentHostEvents$39(<generated>)
at
org.apache.ambari.server.state.cluster.ClusterImpl$$EnhancerByGuice$$9448771b$$FastClassByGuice$$250d757e.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:68)
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.state.cluster.ClusterImpl$$EnhancerByGuice$$9448771b.processServiceComponentHostEvents(<generated>)
at org.apache.ambari.se
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)