ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: java.lang.ClassNotFoundException: Failed to peer load class
Date Tue, 08 Nov 2016 21:54:59 GMT
Hi,

Please properly subscribe to the mailing list so that the community can
receive email notifications for your messages. To subscribe, send empty
email to user-subscribe@ignite.apache.org and follow simple instructions in
the reply.


alex wrote
> When I run the code below, I got "Failed to peer load class".
*
> String objectIds =
> "1vxzn3ifggm4o,1a47fmqipb1u3,z56f5kkwlfk3,tths3z5k5l38,79lzqlrd4cg6";
> for (String did : objectIds.split(",")) {
>       calls.add(() -> {
>            TLabObject object = RepositoryDao.getObject(did);
>            System.out.println(">>> " + did + " on node = " +
> ignite.cluster().localNode().id());
>            return object;
>        });
> }
> Collection< TLabObject > res = ignite.compute(rmts).call(calls);
*
> 
> isPeerClassLoadingEnabled is set to true
> deployMode=SHARED

This exception means that server node that is executing the job can't send a
message to client node that initiated it (it's required to dynamically load
the class). Is there anything else in the logs? Is the client node alive?

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/java-lang-ClassNotFoundException-Failed-to-peer-load-class-tp8778p8792.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message