Skip to content
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

Add the Kryo serializer for Pixel and ImageSerializableWrapper #178

Merged
merged 4 commits into from Jan 8, 2018

Conversation

@jiayuasu
Copy link
Member

commented Jan 8, 2018

This PR adds the Kryo serializer for Pixel and ImageSerializableWrapper. This PR solves the Bug report in Issue #154

When register GeoSparkViz serializers, use "GeoSparkVizKryoRegistrator" instead of "GeoSparkKryoRegistrator". The Viz one will register all classes for GeoSpark-core.

To enable GeoSparkViz serializer, add the following two lines to SparkConf

Java:
conf.set("spark.serializer", KryoSerializer.class.getName());
conf.set("spark.kryo.registrator", GeoSparkVizKryoRegistrator.class.getName());

Scala:
sparkConf.set("spark.serializer", classOf[KryoSerializer].getName)
sparkConf.set("spark.kryo.registrator", classOf[GeoSparkVizKryoRegistrator].getName)

jiayuasu added 4 commits Jan 5, 2018

@jiayuasu jiayuasu merged commit d2c379e into DataSystemsLab:master Jan 8, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.