ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-302) 2nd run CacheQueryExample fails on 2 nodes
Date Thu, 19 Feb 2015 08:20:12 GMT
Alexey Kuznetsov created IGNITE-302:
---------------------------------------

             Summary: 2nd run CacheQueryExample fails on 2 nodes
                 Key: IGNITE-302
                 URL: https://issues.apache.org/jira/browse/IGNITE-302
             Project: Ignite
          Issue Type: Bug
    Affects Versions: sprint-2
            Reporter: Alexey Kuznetsov
            Assignee: Andrey Novikov
             Fix For: sprint-2


1. Start two nodes by bin\ggstart.bat examples\config\example-cache.xml
2. Run in Idea CacheQueryExample twice
3. Second run hangs and one node has ClassNotFoundException:

{noformat}
[17:11:11,044][WARNING][gridgain-#23%sys-null%][GridDeploymentPerVersionStore] Failed to load
peer class (ignore if class got undeployed during preloa
ding) [alias=o.g.examples.datagrid.CacheQueryExample$Person, dep=SharedDeployment [rmv=false,
super=GridDeployment [ts=1414415470972, depMode=SHARED,
clsLdr=GridDeploymentClassLoader [id=909c9b15941-8a410e89-f7a0-4ec6-a6b4-c4d135de731a, singleNode=false,
nodeLdrMap={a73e5cd4-c058-46b8-a3d9-cb0f4bbad
5c1=0fe3bb15941-a73e5cd4-c058-46b8-a3d9-cb0f4bbad5c1, 09497dce-3430-4555-8a75-676c0275119c=1e8b9b15941-09497dce-3430-4555-8a75-676c0275119c},
p2pTimeo
ut=5000, usrVer=0, depMode=SHARED, quiet=false], clsLdrId=909c9b15941-8a410e89-f7a0-4ec6-a6b4-c4d135de731a,
userVer=0, loc=false, sampleClsName=o.g.ex
amples.datagrid.CacheQueryExample$Organization, pendingUndeploy=false, undeployed=false, usage=0]]]
[17:11:11,046][SEVERE][gridgain-#23%sys-null%][GridCacheIoManager] <partitioned> Failed
to process message [senderId=a73e5cd4-c058-46b8-a3d9-cb0f4bbad
5c1]
class org.gridgain.grid.GridException: Failed to find class with given class loader for unmarshalling
(make sure same version of all classes are avail
able on all nodes or enable peer-class-loading): org.gridgain.grid.kernal.processors.cache.GridCacheDeploymentManager$CacheClassLoader@724a63f4
For more information see:
    Troubleshooting:      http://bit.ly/GridGain-Troubleshooting
    Documentation Center: http://bit.ly/GridGain-Documentation

        at org.gridgain.grid.marshaller.optimized.GridOptimizedMarshaller.unmarshal(GridOptimizedMarshaller.java:355)
        at org.gridgain.grid.kernal.processors.cache.GridCacheMessage.unmarshalValueBytesCollection(GridCacheMessage.java:441)
        at org.gridgain.grid.kernal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateRequest.finishUnmarshal(GridNearAtomicUpdateRequest.ja
va:491)
        at org.gridgain.grid.kernal.processors.cache.GridCacheIoManager.unmarshall(GridCacheIoManager.java:752)
        at org.gridgain.grid.kernal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:208)
        at org.gridgain.grid.kernal.processors.cache.GridCacheIoManager.access$200(GridCacheIoManager.java:35)
        at org.gridgain.grid.kernal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:128)
        at org.gridgain.grid.kernal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:648)
        at org.gridgain.grid.kernal.managers.communication.GridIoManager.access$1900(GridIoManager.java:48)
        at org.gridgain.grid.kernal.managers.communication.GridIoManager$6.body(GridIoManager.java:609)
        at org.gridgain.grid.util.worker.GridWorker.run(GridWorker.java:137)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: Failed to load class [name=org.gridgain.examples.datagrid.CacheQueryExample$Person,
ctx={1e8b9b15941-0949
7dce-3430-4555-8a75-676c0275119c=CachedDeploymentInfo [sndId=09497dce-3430-4555-8a75-676c0275119c,
ldrId=1e8b9b15941-09497dce-3430-4555-8a75-676c02751
19c, userVer=0, depMode=SHARED, participants=null], 0fe3bb15941-a73e5cd4-c058-46b8-a3d9-cb0f4bbad5c1=CachedDeploymentInfo
[sndId=a73e5cd4-c058-46b8-a3
d9-cb0f4bbad5c1, ldrId=0fe3bb15941-a73e5cd4-c058-46b8-a3d9-cb0f4bbad5c1, userVer=0, depMode=SHARED,
participants=null]}]
        at org.gridgain.grid.kernal.processors.cache.GridCacheDeploymentManager$CacheClassLoader.findClass(GridCacheDeploymentManager.java:786)
        at org.gridgain.grid.kernal.processors.cache.GridCacheDeploymentManager$CacheClassLoader.loadClass(GridCacheDeploymentManager.java:743)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:270)
        at org.gridgain.grid.marshaller.optimized.GridOptimizedMarshallerUtils.forName(GridOptimizedMarshallerUtils.java:92)
        at org.gridgain.grid.marshaller.optimized.GridOptimizedClassResolver.forName(GridOptimizedClassResolver.java:433)
        at org.gridgain.grid.marshaller.optimized.GridOptimizedClassResolver.readClass(GridOptimizedClassResolver.java:341)
        at org.gridgain.grid.marshaller.optimized.GridOptimizedObjectInputStream.readObjectOverride(GridOptimizedObjectInputStream.java:136)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:364)
        at org.gridgain.grid.marshaller.optimized.GridOptimizedMarshaller.unmarshal(GridOptimizedMarshaller.java:349)
        ... 13 more
{noformat}




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

Mime
View raw message