You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vyacheslav Koptilin (JIRA)" <ji...@apache.org> on 2019/08/01 12:44:00 UTC

[jira] [Commented] (IGNITE-11986) Failed to deserialize object with given class loader: sun.misc.Launcher$AppClassLoader

    [ https://issues.apache.org/jira/browse/IGNITE-11986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16898055#comment-16898055 ] 

Vyacheslav Koptilin commented on IGNITE-11986:
----------------------------------------------

Hello [~jean-denis_at_anagraph],

Yes, Geronimo JCache spec is fully compatible with the original JCache spec on the API level, but there are different serial versions on some of serializable classes.

Please make sure that the same version is used in everywhere in the cluster. 
In case you're using Maven, replacing Geronimo dependency with the following should help:
{code:java}
<dependency>
    <groupId>javax.cache</groupId>
    <artifactId>cache-api</artifactId>
    <version>1.0.0</version>
</dependency>{code}
 

>  Failed to deserialize object with given class loader: sun.misc.Launcher$AppClassLoader
> ---------------------------------------------------------------------------------------
>
>                 Key: IGNITE-11986
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11986
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: mas
>         Environment: Ignite master: commit {{1a2c35caf805769ca4e3f169d7a5c72c31147e41}}
> spark 2.4.3
> hadoop 3.1.2
> OpenJDK 8
> scala 2.11.12
>  
>            Reporter: Jean-Denis Giguère
>            Priority: Major
>         Attachments: server-not-ok.log, spark.log
>
>
> h1. Current situation
> Trying to create connect to a remote ignite cluster from {{spark-submit}}, I get the error message given in the error log attached.
> See code snippet here : https://github.com/jdenisgiguere/ignite_failed_unmarshal_discovery_data
> h2. Expected situation
> We shall be able to connect to a remote Ignite even when we are using Hadoop 3.1.x. 
> h3. Steps to reproduce
> See: [https://github.com/jdenisgiguere/ignite_failed_unmarshal_discovery_data]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)