-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[FLINK-610] Replace Avro with Kryo as the GenericType serializer #271
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
The performance of data-intensive jobs using Kryo is probably going to be slow.
64d2e52
to
f80fc7d
Compare
I rebased the pull request to the 0.8 branch and added a fix for https://issues.apache.org/jira/browse/FLINK-1333. |
Very good idea. I think we could fix this still a bit and make it better:
It seems that the Java/Scala code is moving closer together still, with the common serializer being configured in the Java API for Scala classes. That means we might really collapse the projects at some point. |
Thank you for the feedback.
|
4337bb2
to
e29e9af
Compare
How about we try to use Kryo's copy method and fall back to serialization
|
Okay, I'll add that |
That makes sense. +1 to merge |
Manually closing it. Has been merged |
This closes apache#271.
This pull request is basically a collection of the work of others ;)
@tillrohrmann contributed some of the tests (in particular for the serializer itself). He did the integration with Chill.
@twalthr contributed one commit for fixing a TypeExtractor bug.
I added two IT cases, checking it to work with the following types:
I also tested it on a cluster with a Collection of Objects (containing Strings and Integers). It worked. I didn't test it for performance yet. The purpose of the pull request is to extend the type support for cases we don't cover by our own serialization framework.
I'll now test the change with the code that brought the issue on top of my TODO list: https://issues.apache.org/jira/browse/FLINK-629?focusedCommentId=14241856&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14241856