[
https://issues.apache.org/jira/browse/FLINK-12902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler updated FLINK-12902:
-------------------------------------
Description:
The dependency situation in this module is just insane; you have a few unshaded
hadoop dependencies from `flink-yarn-tests`, some shaded hadoop dependencies
from `flink-shaded-yarn-tests` and _yet another_ set of shaded hadoop
dependencies from `flink-shaded-hadoop`. All of these are available on the test
classpath, resulting in what is effectively an incomprehensible classpath.
This is highlighted in the shading patterns in `flink-shaded-yarn-tests`, which
absolutely had to be in sync with `flink-shaded-hadoop` as otherwise you ended
up with strange `VerifyErrors`.
was:
flink-shaded-yarn relocates a few dependencies that are later used by
flink-yarn-tests. Currently the relocations applied must be in sync with
flink-shaded-hadoop _for some reason_.
We should find out why they have to be in sync.
> Cleanup flink-yarn-tests dependencies
> -------------------------------------
>
> Key: FLINK-12902
> URL: https://issues.apache.org/jira/browse/FLINK-12902
> Project: Flink
> Issue Type: Improvement
> Components: Build System, Deployment / YARN
> Affects Versions: 1.9.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The dependency situation in this module is just insane; you have a few
> unshaded hadoop dependencies from `flink-yarn-tests`, some shaded hadoop
> dependencies from `flink-shaded-yarn-tests` and _yet another_ set of shaded
> hadoop dependencies from `flink-shaded-hadoop`. All of these are available on
> the test classpath, resulting in what is effectively an incomprehensible
> classpath.
> This is highlighted in the shading patterns in `flink-shaded-yarn-tests`,
> which absolutely had to be in sync with `flink-shaded-hadoop` as otherwise
> you ended up with strange `VerifyErrors`.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)