Hi Isaeed, It looks weird. Would you please share a whole log?
On Wed, Mar 8, 2017 at 9:26 AM, Isaeed Mohanna <[email protected]> wrote: > Hi > I have a 1.7.0 cluster with two nodes with several caches in it, i tried > moving to Ignite 1.8.0 unfortunately i am facing two issues: > 1. My query's stopped working against the cache. A simple SQL Query like > this > SqlQuery<UUID, Entity> sql = new SqlQuery<UUID, Entity>(Entity.class, "type > = ?"); > type is part of the entity class its a simply enum, any idea why my query > now returns zero results? > > 2. In my efforts to resolve problem 1, i thought to start using binary > marshaller in my entities which implemented Externalizable interface, i > removed the interface to use the binary marshaller which actually helped > and my query is working again however whenever i have two nodes in the > cluster i receive the following exception several times when I join the > second node to the cluster but it appears to go away afterwards. what is > causing this exception? and how do i resolve the problem? > Thanks > > [2017-03-08 05:58:19] [ERROR] > [org.apache.ignite.internal.processors.task.GridTaskWorker:org.apache. > ignite.logger.slf4j.Slf4jLogger.error(Slf4jLogger.java:112)]: > Failed to obtain remote job result policy for result from > ComputeTask.result(..) method (will fail the whole task): GridJobResultImpl > [job=C2V2 [c=com.hhh.Task@100853d8], sib=GridJobSiblingImpl > [sesId=a454e7caa51-9feeb429-75c5-4920-81a1-e95fdb12ebd5, > jobId=b454e7caa51-9feeb429-75c5-4920-81a1-e95fdb12ebd5, > nodeId=a02307c0-64d8-443f-83e5-2dbdca9ab259, isJobDone=false], > jobCtx=GridJobContextImpl > [jobId=b454e7caa51-9feeb429-75c5-4920-81a1-e95fdb12ebd5, timeoutObj=null, > attrs={}], node=TcpDiscoveryNode [id=a02307c0-64d8-443f-83e5-2dbdca9ab259, > addrs=[20.0.2.55], sockAddrs=[/20.0.2.55:47500], discPort=47500, order=2, > intOrder=2, lastExchangeTime=1488952697596, loc=false, > ver=1.8.0#20161205-sha1:9ca40dbe, isClient=false], ex=class > o.a.i.IgniteException: null, hasRes=true, isCancelled=false, > isOccupied=true] > class org.apache.ignite.IgniteException: Remote job threw user exception > (override or implement ComputeTask.result(..) method if you would like to > have automatic failover for this exception). > at > org.apache.ignite.compute.ComputeTaskAdapter.result( > ComputeTaskAdapter.java:101) > at > org.apache.ignite.internal.processors.task.GridTaskWorker$5.apply( > GridTaskWorker.java:1030) > at > org.apache.ignite.internal.processors.task.GridTaskWorker$5.apply( > GridTaskWorker.java:1023) > at > org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils. > java:6596) > at > org.apache.ignite.internal.processors.task.GridTaskWorker.result( > GridTaskWorker.java:1023) > at > org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse( > GridTaskWorker.java:841) > at > org.apache.ignite.internal.processors.task.GridTaskProcessor. > processJobExecuteResponse(GridTaskProcessor.java:996) > at > org.apache.ignite.internal.processors.task.GridTaskProcessor$ > JobMessageListener.onMessage(GridTaskProcessor.java:1221) > at > org.apache.ignite.internal.managers.communication. > GridIoManager.invokeListener(GridIoManager.java:1082) > at > org.apache.ignite.internal.managers.communication.GridIoManager. > processRegularMessage0(GridIoManager.java:710) > at > org.apache.ignite.internal.managers.communication. > GridIoManager.access$1700(GridIoManager.java:102) > at > org.apache.ignite.internal.managers.communication.GridIoManager$5.run( > GridIoManager.java:673) > at > java.util.concurrent.ThreadPoolExecutor.runWorker( > ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run( > ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Caused by: class org.apache.ignite.IgniteException: null > at > org.apache.ignite.internal.processors.closure.GridClosureProcessor$C2V2. > execute(GridClosureProcessor.java:2040) > at > org.apache.ignite.internal.processors.job.GridJobWorker$ > 2.call(GridJobWorker.java:556) > at > org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils. > java:6564) > at > org.apache.ignite.internal.processors.job.GridJobWorker. > execute0(GridJobWorker.java:550) > at > org.apache.ignite.internal.processors.job.GridJobWorker. > body(GridJobWorker.java:479) > at > org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) > at > org.apache.ignite.internal.processors.job.GridJobProcessor. > processJobExecuteRequest(GridJobProcessor.java:1180) > at > org.apache.ignite.internal.processors.job.GridJobProcessor$ > JobExecutionListener.onMessage(GridJobProcessor.java:1894) > ... 7 more > Caused by: java.lang.NullPointerException > at > org.apache.ignite.internal.processors.service.GridServiceProcessor. > serviceTopology(GridServiceProcessor.java:700) > at > org.apache.ignite.internal.processors.service.GridServiceProxy. > randomNodeForService(GridServiceProxy.java:249) > at > org.apache.ignite.internal.processors.service.GridServiceProxy. > nodeForService(GridServiceProxy.java:226) > at > org.apache.ignite.internal.processors.service. > GridServiceProxy.invokeMethod(GridServiceProxy.java:152) > at > org.apache.ignite.internal.processors.service.GridServiceProxy$ > ProxyInvocationHandler.invoke(GridServiceProxy.java:331) > at com.sun.proxy.$Proxy35.getEvents(Unknown Source) > class fetching cache items > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/Upgrade-to-1-8-0-problems-tp11068.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Best regards, Andrey V. Mashenkov
