-
Notifications
You must be signed in to change notification settings - Fork 155
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
Support serializing asJavaIterable. #192
Conversation
See discussion from apache/spark#1206 |
@@ -160,6 +160,8 @@ class ScalaCollectionsRegistrar extends IKryoRegistrar { | |||
.forTraversableSubclass(MMap.empty[Any, Any], isImmutable = false) | |||
.forTraversableSubclass(MSet.empty[Any], isImmutable = false) | |||
.forTraversableSubclass(ListBuffer.empty[Any], isImmutable = false) | |||
|
|||
newK.register(JavaIterableWrapperSerializer.wrapperClass, new JavaIterableWrapperSerializer) |
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.
Should this maybe be split out as a separate class from the normal collections -- I presume eventually we may want all the collections wrappers?
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 guess that's a decision for the project lead(s) ...
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.
Ok then, lets do that so. Split out the wrappers from the core collections.
Ok updated. |
Support serializing asJavaIterable.
Sorry, been off at the spark conf so bit more time constrained. Merged. thanks! |
Ah np - make sure you say hi at the next spark event :) |
No description provided.