ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Suntsov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-212) CacheQueryExample: Failed to execute query on node
Date Mon, 09 Feb 2015 13:54:35 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ilya Suntsov updated IGNITE-212:
--------------------------------
    Attachment: thread_dump.txt
                node.log
                IDEA.log

> CacheQueryExample: Failed to execute query on node 
> ---------------------------------------------------
>
>                 Key: IGNITE-212
>                 URL: https://issues.apache.org/jira/browse/IGNITE-212
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: sprint-1
>         Environment: OS X ver 10.8.5
> Java 1.7.0_67
> IDEA 14.0.2 
>            Reporter: Ilya Suntsov
>         Attachments: IDEA.log, node.log, thread_dump.txt
>
>
> 1. Start node with cache config
> 2. Start CacheQueryExample in IDEA
> Result:
> *There is exception in IDEA:*
> {noformat}
> Exception in thread "main" class org.apache.ignite.IgniteCheckedException: Failed to
execute query on node [query=GridCacheQueryBean [qry=GridCacheQueryAdapter [prjPred=null,
type=TEXT, clsName=Person, clause=Master, filter=null, incMeta=false, metrics=GridCacheQueryMetricsAdapter
[minTime=0, maxTime=0, avgTime=0.0, execs=0, fails=0, executed=false], pageSize=1024, timeout=0,
keepAll=true, incBackups=false, dedup=false, prj=null, keepPortable=false, subjId=44c31d75-1c78-477a-81ea-3b63c78ee038,
taskHash=0], rdc=null, trans=null], nodeId=2d6913bf-0f67-40dc-9e99-5cd46aaa1a89]
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.onPage(GridCacheQueryFutureAdapter.java:375)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager.processQueryResponse(GridCacheDistributedQueryManager.java:343)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager.access$000(GridCacheDistributedQueryManager.java:46)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager$1.apply(GridCacheDistributedQueryManager.java:76)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager$1.apply(GridCacheDistributedQueryManager.java:74)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:295)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:211)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$300(GridCacheIoManager.java:44)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager$OrderedMessageListener.onMessage(GridCacheIoManager.java:807)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$GridCommunicationMessageSet.unwind(GridIoManager.java:1922)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.unwindMessageSet(GridIoManager.java:806)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:57)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$6.body(GridIoManager.java:771)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:145)
> 	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: class org.apache.ignite.IgniteCheckedException: Failed to find class with
given class loader for unmarshalling (make sure same version of all classes are available
on all nodes or enable peer-class-loading): null
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:338)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridLuceneIndex$It.findNext(GridLuceneIndex.java:357)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridLuceneIndex$It.<init>(GridLuceneIndex.java:317)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridLuceneIndex$It.<init>(GridLuceneIndex.java:279)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridLuceneIndex.query(GridLuceneIndex.java:267)
> 	at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.queryText(IgniteH2Indexing.java:518)
> 	at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryText(GridQueryProcessor.java:610)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.executeQuery(GridCacheQueryManager.java:542)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.queryResult(GridCacheQueryManager.java:1456)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.queryResult(GridCacheQueryManager.java:1424)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.runQuery(GridCacheQueryManager.java:1190)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager.processQueryRequest(GridCacheDistributedQueryManager.java:178)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager$2.apply(GridCacheDistributedQueryManager.java:88)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager$2.apply(GridCacheDistributedQueryManager.java:86)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:295)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:211)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$300(GridCacheIoManager.java:44)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:132)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:611)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$5.body(GridIoManager.java:572)
> 	... 4 more
> Caused by: java.lang.ClassNotFoundException: org.apache.ignite.examples.datagrid.CacheQueryExample$Person
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:270)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.forName(OptimizedMarshallerUtils.java:100)
> 	at org.apache.ignite.marshaller.optimized.OptimizedClassResolver.forName(OptimizedClassResolver.java:439)
> 	at org.apache.ignite.marshaller.optimized.OptimizedClassResolver.readClass(OptimizedClassResolver.java:347)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:146)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:364)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:332)
> 	... 24 more{noformat}
> *and on node:*
> {noformat}
> [16:23:23,431][SEVERE][ignite-#23%sys-null%][GridCacheDistributedQueryManager] <partitioned>
Failed to run query [qry=GridCacheQueryInfo [loc=false, prjPred=Always true predicate., trans=null,
rdc=null, qry=GridCacheQueryAdapter [prjPred=Always true predicate., type=TEXT, clsName=Person,
clause=Master, filter=null, incMeta=false, metrics=null, pageSize=1024, timeout=0, keepAll=false,
incBackups=false, dedup=false, prj=null, keepPortable=false, subjId=44c31d75-1c78-477a-81ea-3b63c78ee038,
taskHash=0], locFut=null, sndId=44c31d75-1c78-477a-81ea-3b63c78ee038, reqId=33, incMeta=false,
all=false], node=2d6913bf-0f67-40dc-9e99-5cd46aaa1a89]
> class org.apache.ignite.IgniteCheckedException: Failed to find class with given class
loader for unmarshalling (make sure same version of all classes are available on all nodes
or enable peer-class-loading): null
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:338)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridLuceneIndex$It.findNext(GridLuceneIndex.java:357)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridLuceneIndex$It.<init>(GridLuceneIndex.java:317)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridLuceneIndex$It.<init>(GridLuceneIndex.java:279)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridLuceneIndex.query(GridLuceneIndex.java:267)
> 	at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.queryText(IgniteH2Indexing.java:518)
> 	at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryText(GridQueryProcessor.java:610)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.executeQuery(GridCacheQueryManager.java:542)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.queryResult(GridCacheQueryManager.java:1456)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.queryResult(GridCacheQueryManager.java:1424)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.runQuery(GridCacheQueryManager.java:1190)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager.processQueryRequest(GridCacheDistributedQueryManager.java:178)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager$2.apply(GridCacheDistributedQueryManager.java:88)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager$2.apply(GridCacheDistributedQueryManager.java:86)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:295)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:211)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$300(GridCacheIoManager.java:44)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:132)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:611)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$5.body(GridIoManager.java:572)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:145)
> 	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: org.apache.ignite.examples.datagrid.CacheQueryExample$Person
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:270)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.forName(OptimizedMarshallerUtils.java:100)
> 	at org.apache.ignite.marshaller.optimized.OptimizedClassResolver.forName(OptimizedClassResolver.java:439)
> 	at org.apache.ignite.marshaller.optimized.OptimizedClassResolver.readClass(OptimizedClassResolver.java:347)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:146)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:364)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:332)
> 	... 24 more
> [16:23:23,436][SEVERE][ignite-#23%sys-null%][GridCacheDistributedQueryManager] <partitioned>
Failed to close iterator.
> class org.apache.ignite.IgniteCheckedException: Failed to find class with given class
loader for unmarshalling (make sure same version of all classes are available on all nodes
or enable peer-class-loading): null
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:338)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridLuceneIndex$It.findNext(GridLuceneIndex.java:357)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridLuceneIndex$It.<init>(GridLuceneIndex.java:317)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridLuceneIndex$It.<init>(GridLuceneIndex.java:279)
> 	at org.apache.ignite.internal.processors.query.h2.opt.GridLuceneIndex.query(GridLuceneIndex.java:267)
> 	at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.queryText(IgniteH2Indexing.java:518)
> 	at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryText(GridQueryProcessor.java:610)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.executeQuery(GridCacheQueryManager.java:542)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.queryResult(GridCacheQueryManager.java:1456)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.queryResult(GridCacheQueryManager.java:1424)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.runQuery(GridCacheQueryManager.java:1190)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager.processQueryRequest(GridCacheDistributedQueryManager.java:178)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager$2.apply(GridCacheDistributedQueryManager.java:88)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager$2.apply(GridCacheDistributedQueryManager.java:86)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:295)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:211)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$300(GridCacheIoManager.java:44)
> 	at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:132)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:611)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:57)
> 	at org.apache.ignite.internal.managers.communication.GridIoManager$5.body(GridIoManager.java:572)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:145)
> 	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: org.apache.ignite.examples.datagrid.CacheQueryExample$Person
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:270)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshallerUtils.forName(OptimizedMarshallerUtils.java:100)
> 	at org.apache.ignite.marshaller.optimized.OptimizedClassResolver.forName(OptimizedClassResolver.java:439)
> 	at org.apache.ignite.marshaller.optimized.OptimizedClassResolver.readClass(OptimizedClassResolver.java:347)
> 	at org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:146)
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:364)
> 	at org.apache.ignite.marshaller.optimized.OptimizedMarshaller.unmarshal(OptimizedMarshaller.java:332)
> 	... 24 more
> {noformat}
> *Thread dump for node, IDEA's and node's logs  in attachment*



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

Mime
View raw message