Skip to content

Ambari / Metrics tab and adding new metric #151

Description

@zorel

Hi. I have a rather strange issue with Ambari metrics tab. When I clic on the metrics, it stops refreshing. I have the actual metrics, not the new ones

Image

I'm not sure if using jdk17 and then G1GC blocks everything, as I see some message about non existent metrics in Firefox JS console (which are ok, metrics for CMS do not exist).

When I try to add a new graph/new widget:

Image

The only error message I see is in ambari-server: (nothing in ambari-e

2026-06-29 16:11:18.920 WARN  [ambari-client-thread-3871] o.e.j.s.HttpChannel:579 - /api/v1/stacks/ODP/versions/1.3/services com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 optional type `java.util.Optional<org.apache.ambari.server.state.UriInfo>` not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jdk8" to enable handling (through reference chain: java.util.ArrayList[0]->org.apache.ambari.server.state.stack.MetricDefinition["jmxSourceUri"])

And when I want to exist the metric page and I click on another part of the app, the breadcrumb changes (or not on Chrome, it just disparears) but not the page, still stuck on metrics:

Image

100% reproductible, both on Chrome and Firefox.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions