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

NoSuchMethod error in prometheus reporter

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            shivnarayan sivabalan narayanan
            nishith29 Nishith Agarwal

            Dates

              Created:
              Updated:

              Slack

                Issue deployment