Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-7178

Datadog Metric Reporter Jar is Lacking Dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.3.1, 1.4.0
    • 1.3.2, 1.4.0
    • Runtime / Metrics
    • None
    • Users that specified the {{shaded}} classifier in the dependency for the datatog/prometheus reporter must remove the classifier when switching to 1.3.2 / 1.4.0 .

    Description

      The Datadog metric reporter has dependencies on com.squareup.okhttp3 and com.squareup.okio. It appears there was an attempt to Maven Shade plug-in to move these classes to org.apache.flink.shaded.okhttp3 and org.apache.flink.shaded.okio during packaging. Alas, the shaded classes are not included in the flink-metrics-datadog-1.3.1.jar released to Maven Central. Using the Jar results in an error when the Jobmanager or Taskmanager starts up because of the missing dependencies.

      Attachments

        Activity

          People

            chesnay Chesnay Schepler
            elevy Elias Levy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: