-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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-18802][formats] Package uber jar including all dependencies for flink-avro #13072
Conversation
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Automated ChecksLast check on commit 69e9338 (Thu Aug 06 02:00:19 UTC 2020) Warnings:
Mention the bot in a comment to re-run the automated checks. Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
LGTM. We probably also want to have uber jars for other formats as well. |
Looks like CI failed. Fixed in 766339d |
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.
As I mentioned in the JIRA issue, we should have consensus on adding a default Avro version. I'm fine with adding one for the SQL Client JAR file because we will always use GenericRecord there. However, for DataStream API jobs users often use SpecificRecord which might compile against a specific Avro version.
Also, for SQL Client JAR files with GenericRecord we probably don't need JodaTime anymore. The newest Avro version is JodaTime free, no?
https://issues.apache.org/jira/browse/AVRO-2079
Thanks a lot @twalthr ~ What about upgrading Avro version to 1.9.0 so that we can get rid of joda-time, and packaging it into sql-jar as the default Avro version? |
Hey @PatrickRen, In case of the {{flink-avro}} module the situation is not that easy. Users might've generated their classes against specific version. Moreover they might want to use the version of avro that comes with hadoop they're using. Therefore they should have an easy way to replace the avro version. |
I am closing this PR because of inactivity and because it is subsumed by #13373 . Feel free to reopen if you think otherwise. |
What is the purpose of the change
This pull request changes the pom.xml of flink-avro module in order to create a uber jar in packaging phase, including dependencies such as avro, jackson-core-asl, jackson-mapper-asl and joda-time.
Brief change log
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (no)Documentation