-
Notifications
You must be signed in to change notification settings - Fork 211
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
Making RTree Serializable #62
Comments
Serialization is supported and is discussed in the README.md. On Thu, 3 Nov 2016, 02:13 rahulmidha31 [email protected] wrote:
|
Thanks David, though i was talking about the default java serialization but found a way to make it work with Spark. Thanks.. |
Hi, |
Hi, For spark, I just added a property for using the default serializer as Kryo. Property : spark.serializer=org.apache.spark.serializer.KryoSerializer |
Hello, may I ask, I also want to use it in spark. But I added custom geometry, how can I serialize it?In addition to adding attributes, what else to do? thank you! @rahulmidha31 |
Hi,
I was trying to integrate this in Spark for one of my use cases. However, post constructing the RTree object I wanted to broadcast it to the executors, but failed since the RTree object was not serializable.
Work around: Initialized it once per executor, but still it would be great if we could simply mark it serializable.
The text was updated successfully, but these errors were encountered: