ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Magda (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-1190) org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader for unmarshalling (make sure same versions of all classes are available on all nodes or enable peer-class-loading)
Date Tue, 11 Aug 2015 13:23:45 GMT

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

Denis Magda commented on IGNITE-1190:
-------------------------------------

Ken, 

As you may see from the article "Zero Deployment", that you're referring to above, the java
example and content is compute engine based.   

{noformat}
IgniteCluster cluster = ignite.cluster();

// Compute instance over remote nodes.
IgniteCompute compute = ignite.compute(cluster.forRemotes());

// Print hello message on all remote nodes.
compute.broadcast(() -> System.out.println("Hello node: " + cluster.localNode().id()));
{noformat}

Both the article and {{IgniteConfiguration.isPeerClassLoadingEnabled()}} operate {{task}}
notion. Simply, the {{task}} is a piece of code that is executed on cluster nodes using compute
engine. 
So, P2P is supported, at least officially, only for the compute engine.

As for your issue, you're executing queries on the server nodes. P2P is definitely not supported
for queries. 

> org.apache.ignite.IgniteCheckedException: Failed to find class with given class loader
for unmarshalling (make sure same versions of all classes are available on all nodes or enable
peer-class-loading)
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-1190
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1190
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: xwcheng
>            Assignee: Alexey Goncharuk
>             Fix For: ignite-1.4
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message