Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-1799

NoSuchMethod error in prometheus reporter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Unresolved
    • None
    • None
    • metrics

    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

      Attachments

        Activity

          People

            shivnarayan sivabalan narayanan
            nishith29 Nishith Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: