-
Notifications
You must be signed in to change notification settings - Fork 29k
[WIP] [SPARK-3996]: Shade Jetty in Spark deliverables #4252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Jenkins, test this please. |
|
Test build #26242 has started for PR 4252 at commit
|
|
@vanzin - would you be able to take a look? |
|
Hi @pwendell , Did you check that jetty classes only show up in spark-core's jar? I see a jetty dependency in That would mean doing the guava thing: declare dependencies as |
|
Hey @vanzin - here the jetty classes show up in both core and streaming. Is that a problem? |
|
It's not a real problem other than being wasteful, but it should be easy to fix it. |
|
Test build #26242 has finished for PR 4252 at commit
|
|
Test PASSed. |
|
Changed approach to only shade inside of core jar per @vanzin's suggestion. |
pom.xml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: guava is promoted in network-common, so maybe rephrase this a little.
|
Test build #26250 has started for PR 4252 at commit
|
|
Latest patch LGTM. Thanks for the extra cleanup too! |
|
Hey @pwendell, Just remembered that there's an extra bit that needs to be taken care of when shading. That needs to be extended to Jetty too. Also I should probably take a look if that is still working for Guava since that's not a direct dependency anymore in |
|
Test build #26250 has finished for PR 4252 at commit
|
|
Test PASSed. |
This patch piggy-back's on @vanzin's work to simplify the Guava shading, and adds Jetty as a shaded library in Spark. Other than adding Jetty, it consilidates the <artifactSet>'s into the root pom. I found it was a bit easier to follow that way, since you don't need to look into child pom's to find out specific artifact sets included in shading.
|
@vanzin I've addressed your additional comments. Mind taking a look? |
|
LGTM. Ship it! |
|
Test build #26337 has started for PR 4252 at commit
|
|
Test build #26337 has finished for PR 4252 at commit
|
|
Test PASSed. |
|
BTW I think @mccheah was interested in this originally. |
|
Thanks for doing this. My colleagues and I will test this appropriately when we find the bandwidth! |
This patch piggy-back's on @vanzin's work to simplify the Guava shading,
and adds Jetty as a shaded library in Spark. Other than adding Jetty,
it consilidates the 's into the root pom. I found it was
a bit easier to follow that way, since you don't need to look into
child pom's to find out specific artifact sets included in shading.