You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Zhiguo Wu (Jira)" <ji...@apache.org> on 2022/11/22 09:24:00 UTC

[jira] [Updated] (AMBARI-25601) Ambari with AMS HA unable to change metrics collector for metrics providing on collector fail

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

Zhiguo Wu updated AMBARI-25601:
-------------------------------
    Fix Version/s: 2.8.0

> Ambari with AMS HA unable to change metrics collector for metrics providing on collector fail
> ---------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-25601
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25601
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.5
>            Reporter: Dmytro Vitiuk
>            Assignee: Dmytro Grinenko
>            Priority: Major
>             Fix For: 2.8.0, 2.7.6
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> It is expected that ambari server should select another available metrics collector for metrics retrieval on current collector fail. But actually we have the next numerous exceptions. Of course in this case metrics are unavailable via ambari API.
> {code}
> 2020-12-10 08:41:44,402 ERROR [pool-3-thread-1] ambari-event-bus:232 - Exception thrown by subscriber method onMetricsCollectorHostDownEvent(org.apache.ambari.server.events.MetricsCollectorHostDownEvent) on subscriber org.apache.ambari.server.controller.metrics.MetricsCollectorHAManager@470dea54 when dispatching event: MetricsCollectorHostDownEvent{eventType=METRICS_COLLECTOR_HOST_DOWN}
> java.lang.NullPointerException
>         at org.apache.ambari.server.controller.metrics.CollectorHostDownRefreshCounter.testRefreshCounter(CollectorHostDownRefreshCounter.java:33)
>         at org.apache.ambari.server.controller.metrics.MetricsCollectorHAClusterState.onCollectorHostDown(MetricsCollectorHAClusterState.java:117)
>         at org.apache.ambari.server.controller.metrics.MetricsCollectorHAManager.onMetricsCollectorHostDownEvent(MetricsCollectorHAManager.java:126)
>         at sun.reflect.GeneratedMethodAccessor569.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)
>         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: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
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ambari.apache.org
For additional commands, e-mail: issues-help@ambari.apache.org