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 4 commits into from Jan 8, 2018


Copy link

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

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.