You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by crabmc <gi...@git.apache.org> on 2017/06/27 09:36:26 UTC
[GitHub] spark pull request #18432: resolve com.esotericsoftware.kryo.KryoException
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 <mc...@126.com>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18432: resolve com.esotericsoftware.kryo.KryoException
Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the issue:
https://github.com/apache/spark/pull/18432
I don't think this can be correct. Kryo is already active if you see that exception. You need to register an additional class or change to disable kryo registration
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark issue #18432: resolve com.esotericsoftware.kryo.KryoException
Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:
https://github.com/apache/spark/pull/18432
Can one of the admins verify this patch?
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] spark pull request #18432: resolve com.esotericsoftware.kryo.KryoException
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/spark/pull/18432
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org