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

Datadog Metric Reporter Jar is Lacking Dependencies

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.1, 1.4.0
    • Fix Version/s: 1.4.0, 1.3.2
    • Component/s: Metrics
    • Labels:
      None
    • Release Note:
      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

            • Assignee:
              Zentol Chesnay Schepler
              Reporter:
              elevy Elias Levy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: