You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by tore yang <to...@yahoo.com> on 2022/01/21 15:00:26 UTC

Question about Peer class loading

I have enabled Peer class loading feature in the cluster, it works find when I run a task. However when I try to deploy a service, it throws exception: 
class org.apache.ignite.igniteCheckedException: Failed to find class with given class loader for unmarshaling (make sure versioins of all classes are available on all nodes or enable peer-class-loading).
Do I have to do something to get it to work?

Re: Question about Peer class loading

Posted by Stephen Darlington <st...@gridgain.com>.
Sadly it’s pretty simple: you can’t peer class load a service. The classes need to be deployed on the nodes before service is initiated.

> On 21 Jan 2022, at 15:00, tore yang <to...@yahoo.com> wrote:
> 
> I have enabled Peer class loading feature in the cluster, it works find when I run a task. However when I try to deploy a service, it throws exception: 
> 
> class org.apache.ignite.igniteCheckedException: Failed to find class with given class loader for unmarshaling (make sure versioins of all classes are available on all nodes or enable peer-class-loading).
> 
> Do I have to do something to get it to work?