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

2019-08-01 Thread Vyacheslav Koptilin (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-11986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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}

javax.cache
cache-api
1.0.0
{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)


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

2019-07-17 Thread JIRA


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

Jean-Denis Giguère commented on IGNITE-11986:
-

I can make it working by removing
$HADOOP_HOME/hadoop-3.1.2/share/hadoop/yarn/lib/geronimo-jcache_1.0_spec-1.0-alpha-1.jar

I'm not sure removing it is a valid use case for many. What could be an better 
way to manage this?

I update the repo with the sample code to provide a docker-compose environment 
to make it easier to reproduce. 



>  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)


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

2019-07-16 Thread Vyacheslav Koptilin (JIRA)


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

Vyacheslav Koptilin commented on IGNITE-11986:
--

In any case, I am a bit confused that the client's log does not provide enough 
information about the unsuccessful attempt to join the cluster. Looks like a 
usability issue.

>  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)


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

2019-07-16 Thread Vyacheslav Koptilin (JIRA)


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

Vyacheslav Koptilin commented on IGNITE-11986:
--

Well, it seems a class-path issue. The log file from the server node gives a 
hint:
> InvalidClassException: javax.cache.configuration.MutableConfiguration; local 
>class incompatible: stream classdesc serialVersionUID = 201405, local class 
>serialVersionUID = 201306200821

This class `javax.cache.configuration.MutableConfiguration` is part of 
`cache-api` jar, and it looks like that the client node uses the old version of 
this library.
Apache Ignite uses version 1.0.0. Please make sure that only one version is 
used in the cluster.

>  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)


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

2019-07-16 Thread JIRA


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

Jean-Denis Giguère commented on IGNITE-11986:
-

 [~slava.koptilin], here they are [^server-not-ok.log] 

>  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)


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

2019-07-16 Thread Vyacheslav Koptilin (JIRA)


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

Vyacheslav Koptilin commented on IGNITE-11986:
--

Hi [~jean-denis_at_anagraph], could you please attach log files from remote 
nodes?

>  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: 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)