GitHub user crabmc opened a pull request:
https://github.com/apache/spark/pull/18432
resolve com.esotericsoftware.kryo.KryoException
## What changes were proposed in this pull request?
Explicitly setting "spark.serializer" to
"org.apache.spark.serializer.KryoSerializer" could resolve
"com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID"
for this example code.
## How was this patch tested?
This example code always report "com.esotericsoftware.kryo.KryoException:
Encountered unregistered class ID" after launching. With this patch the code
could run normally.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/crabmc/spark patch-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18432.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #18432
commit 54731f1df44748186af15760a9c88bc9de7f486c
Author: crab
Date: 2017-06-27T09:32:47Z
resolve com.esotericsoftware.kryo.KryoException
Explicitly setting "spark.serializer" to
"org.apache.spark.serializer.KryoSerializer" could resolve
"com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID"
for this example code
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---
-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org