-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
[FLINK-1605] Bundle all hadoop dependencies and shade guava away #454
Conversation
Looks good, but also like a lot of magic. Can you briefly summarize here (and copy it to the wiki) how the setup works? I am especially confused by the extra YARN shaded versions (two of them). Some remaining questions:
|
I know, the stuff is very complicated. I've documented the setup here: https://cwiki.apache.org/confluence/display/FLINK/Dependency+Shading+in+Flink Regarding The final flink-dist fat jar contains:
please don't merge the pull request! I've found an issue while writing the documentation. I'm currently verifying my fix. |
653e3a9
to
10839f7
Compare
The pull request has been rebased to master. I'm looking for some feedback for this change. |
<version>${hadoop.version}</version> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>asm</groupId> |
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.
I this groupId correct, or should it be org.ow2.asm
?
Here are some points to double check
If none of these points is actually an issue, then +1 to merge |
Thank you for reviewing the change.
I've updated the pull requests. Lets see what travis says about it: https://travis-ci.org/rmetzger/flink/builds/53795738 |
Looks good to me. +1 to merge, if Travis (or Bob the Builder) agrees |
… and introduced a constant representing it.
…WindowedDataStream refactor
<artifactId>hadoop-common</artifactId> | ||
<version>${hadoop.version}</version> | ||
</dependency> | ||
<!-- NOTE: We do not exclude hadoop's dependencies so that the tests start property (in particular jetty) --> |
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.
typo: properly
That are some massive changes to the pom files. As far as I can tell it looks good to me. The |
Thanks for the review. |
018f292
to
3998144
Compare
How much time does this new shading add to the total compile? It used to be around 16-18mins for me using mvn clean install -DskipTests. I just did merge today and it has been more than 25 mins and has not complete the build =( EDIT: |
Hey Henry, |
I don't have a working eclipse setup right now, so I didn't test this change with eclipse.
I would be very interested in some feedback from there.
Its working with IntelliJ.