Description
Prometheus reporter throws the following exception
java.lang.NoSuchMethodError: io.prometheus.client.dropwizard.DropwizardExports.(Lorg/apache/hudi/com/codahale/metrics/MetricRegistry;)V
This looks like a problem due to the version differences between io.dropwizard in prometheus-java client (3.1.2) vs io.dropwizard dependency in Hudi (4.1.1)
Since Hudi brings in 4.1.1, the prometheus client is unable to find the required method
java.lang.NoSuchMethodError: io.prometheus.client.dropwizard.DropwizardExports.(Lorg/apache/hudi/com/codahale/metrics/MetricRegistry;)V
which is present in 3.1.2.
More details on suggested solutions to unblock production -> https://github.com/apache/hudi/issues/2774