Uh oh!
There was an error while loading. Please reload this page.
[SPARK-36835][BUILD] Enable createDependencyReducedPom for Maven shaded plugin - #34085
[SPARK-36835][BUILD] Enable createDependencyReducedPom for Maven shaded plugin#34085sunchao wants to merge 1 commit into
Conversation
sunchao
commented
Sep 24, 2021
Local build looks good, and let's see how Spark CI reacts. cc @JoshRosen |
SparkQA
commented
Sep 24, 2021
Kubernetes integration test starting |
SparkQA
commented
Sep 24, 2021
Kubernetes integration test status failure |
gengliangwang
commented
Sep 24, 2021
Thanks, merging to master and branch-3.2 |
…ed plugin ### What changes were proposed in this pull request? Enable `createDependencyReducedPom` for Spark's Maven shaded plugin so that the effective pom won't contain those shaded artifacts such as `org.eclipse.jetty` ### Why are the changes needed? At the moment, the effective pom leaks transitive dependencies to downstream apps for those shaded artifacts, which potentially will cause issues. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? I manually tested and the `core/dependency-reduced-pom.xml` no longer contains dependencies such as `jetty-XX`. Closes#34085 from sunchao/SPARK-36835. Authored-by: Chao Sun <sunchao@apple.com> Signed-off-by: Gengliang Wang <gengliang@apache.org> (cherry picked from commit ed88e61) Signed-off-by: Gengliang Wang <gengliang@apache.org>
SparkQA
commented
Sep 24, 2021
Test build #143574 has finished for PR 34085 at commit
|
dongjoon-hyun
commented
Sep 24, 2021
+1, LGTM. |
@sunchao@JoshRosen I find that after merging this PR, Spark can't build with Hadoop2.7. The build hangs for over 1 hour Could you help fix it? |
sunchao
commented
Sep 24, 2021
@gengliangwang Oops, I'm taking a look on this. |
sunchao
commented
Sep 24, 2021
Yes this is the reason that last time I disabled the config. I think we are running into some Maven bug that is similar to this one. To fix it, I think we can put the newly introduced in |
sunchao
commented
Sep 24, 2021
I opened #34100 for this. |
What changes were proposed in this pull request?
Enable
createDependencyReducedPomfor Spark's Maven shaded plugin so that the effective pom won't contain those shaded artifacts such asorg.eclipse.jettyWhy are the changes needed?
At the moment, the effective pom leaks transitive dependencies to downstream apps for those shaded artifacts, which potentially will cause issues.
Does this PR introduce any user-facing change?
No
How was this patch tested?
I manually tested and the
core/dependency-reduced-pom.xmlno longer contains dependencies such asjetty-XX.