spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcelo Vanzin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-6069) Deserialization Error ClassNotFoundException with Kryo, Guava 14
Date Wed, 09 May 2018 20:38:00 GMT

     [ https://issues.apache.org/jira/browse/SPARK-6069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcelo Vanzin resolved SPARK-6069.
-----------------------------------
    Resolution: Unresolved

I believe this should have been fixed by SPARK-5470. Please try out with a newer Spark or
update if you still see the problem.

> Deserialization Error ClassNotFoundException with Kryo, Guava 14
> ----------------------------------------------------------------
>
>                 Key: SPARK-6069
>                 URL: https://issues.apache.org/jira/browse/SPARK-6069
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.2.1
>         Environment: Standalone one worker cluster on localhost, or any cluster
>            Reporter: Pat Ferrel
>            Priority: Critical
>
> A class is contained in the jars passed in when creating a context. It is registered
with kryo. The class (Guava HashBiMap) is created correctly from an RDD and broadcast but
the deserialization fails with ClassNotFound.
> The work around is to hard code the path to the jar and make it available on all workers.
Hard code because we are creating a library so there is no easy way to pass in to the app
something like:
> spark.executor.extraClassPath      /path/to/some.jar



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message