[
https://issues.apache.org/jira/browse/FLINK-13324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16891811#comment-16891811
]
TisonKun commented on FLINK-13324:
----------------------------------
[~fly_in_gis] thanks for your reply. I might be unfamiliar with maven
dependency mechanism :P
You're correct that provided and test scope is not transitive. I have two
concerns remain.
1. I can see several dependencies of flink-shaded-hadoop marked as
{{<optional>ture</optional>}} without test or provided(compile is the default I
think). Does this case introduce transitive dependency?
2. flink-yarn depends on flink-shaded-hadoop-2 without optional or provided.
Does this case introduce transitive dependency?
I tend to make sure that flink-shaded-hadoop dependencies are non-transitive
than exclude curator from it now.
> flink-shaded-hadoop could exclude curator dependency
> ----------------------------------------------------
>
> Key: FLINK-13324
> URL: https://issues.apache.org/jira/browse/FLINK-13324
> Project: Flink
> Issue Type: Improvement
> Components: BuildSystem / Shaded
> Reporter: TisonKun
> Priority: Minor
> Attachments: patch.diff
>
>
> Flink's high-availability functionality depends on curator, which means flink
> has its own dependent curator version(now is "2.12.0"). However, there are
> several transitive dependencies referring to
> curator-(client|framework|recipe)-2.7.1 from flink-shaded-hadoop(2). We might
> exclude these dependencies for a single curator version used in flink.
> cc [~Zentol]
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)