flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-7178) Datadog Metric Reporter Jar is Lacking Dependencies
Date Thu, 13 Jul 2017 20:16:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-7178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086330#comment-16086330
] 

Chesnay Schepler commented on FLINK-7178:
-----------------------------------------

The maven-shade plugin was not configured correctly and creates a separate shaded jar.

This shaded jar is also deployed (along with an un-shaded jar); as a workaround for 1.3.1
you can add {{<classifier>shaded</classifier>}} to the dependency.

> Datadog Metric Reporter Jar is Lacking Dependencies
> ---------------------------------------------------
>
>                 Key: FLINK-7178
>                 URL: https://issues.apache.org/jira/browse/FLINK-7178
>             Project: Flink
>          Issue Type: Bug
>          Components: Metrics
>    Affects Versions: 1.3.1, 1.4.0
>            Reporter: Elias Levy
>            Assignee: Chesnay Schepler
>            Priority: Blocker
>             Fix For: 1.4.0, 1.3.2
>
>
> 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.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message