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

resolve com.esotericsoftware.kryo.KryoException #18432

Closed
wants to merge 1 commit into from
Closed

resolve com.esotericsoftware.kryo.KryoException #18432

wants to merge 1 commit into from

Conversation

crabmc
Copy link

@crabmc crabmc commented Jun 27, 2017

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.

Explicitly setting "spark.serializer" to "org.apache.spark.serializer.KryoSerializer" could resolve "com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID" for this example code
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@srowen
Copy link
Member

srowen commented Jun 27, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants