Mohammad Arshad created AMBARI-26015:
----------------------------------------
Summary: Fix DeleteServiceTest functional test case
Key: AMBARI-26015
URL: https://issues.apache.org/jira/browse/AMBARI-26015
Project: Ambari
Issue Type: Bug
Reporter: Mohammad Arshad
org.apache.ambari.funtest.server.tests.DeleteServiceTest#testDeleteService
failing with following error.
{code:java}
2023-10-20 22:09:04,209 ERROR [pool-4-thread-1] EventBus.ambari-event-bus
(EventBus.java:handleException(232)) - Exception thrown by subscriber method
onHostStateUpdate(org.apache.ambari.server.events.HostStateUpdateEvent) on
subscriber
org.apache.ambari.server.events.listeners.hosts.HostUpdateListener@2bcec6a6
when dispatching event: HostStateUpdateEvent{eventType=HOST_STATE_CHANGE}
org.apache.ambari.server.HostNotFoundException: Host not found, hostname=host1
at
org.apache.ambari.server.state.cluster.ClustersImpl.getHost(ClustersImpl.java:457)
at
org.apache.ambari.server.events.listeners.hosts.HostUpdateListener.onHostStateUpdate(HostUpdateListener.java:102)
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:498)
at
com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:87)
at
com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:144)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:72)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
{code}
{code:java}
023-10-20 22:09:04,734 ERROR [stomp-agent-bus-0] EventBus.agent-update-bus
(EventBus.java:handleException(232)) - Exception thrown by subscriber method
onUpdateEvent(org.apache.ambari.server.events.STOMPEvent) on subscriber
org.apache.ambari.server.events.listeners.requests.STOMPUpdateListener@3d83bfb9
when dispatching event:
org.apache.ambari.server.events.AgentConfigsUpdateEvent@4bc6f34
org.apache.ambari.server.HostNotRegisteredException: Host with hostId '1' not
registered
at
org.apache.ambari.server.HostNotRegisteredException.forHostId(HostNotRegisteredException.java:31)
at
org.apache.ambari.server.agent.AgentSessionManager.getSessionId(AgentSessionManager.java:70)
at
org.apache.ambari.server.events.MessageEmitter.emitMessageToHost(MessageEmitter.java:170)
at
org.apache.ambari.server.events.DefaultMessageEmitter.emitMessage(DefaultMessageEmitter.java:99)
at
org.apache.ambari.server.events.listeners.requests.STOMPUpdateListener.onUpdateEvent(STOMPUpdateListener.java:53)
at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:87)
{code}
{code:java}
2023-10-20 22:09:04,751 ERROR [ambari-client-thread-31] handlers.CreateHandler
(CreateHandler.java:persist(80)) - Bad request received: No repositories were
found for service installation
java.lang.IllegalArgumentException: No repositories were found for service
installation
at
org.apache.ambari.server.controller.internal.ServiceResourceProvider.validateCreateRequests(ServiceResourceProvider.java:1178)
at
org.apache.ambari.server.controller.internal.ServiceResourceProvider.createServices(ServiceResourceProvider.java:508)
at
org.apache.ambari.server.controller.internal.ServiceResourceProvider$1.invoke(ServiceResourceProvider.java:278)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]