Sergey Kozlov created IGNITE-1030:
------------------------------------- Summary: IgniteAtomicReferenceExample fails with IgniteDeploymentException Key: IGNITE-1030 URL: https://issues.apache.org/jira/browse/IGNITE-1030 Project: Ignite Issue Type: Bug Affects Versions: sprint-6 Reporter: Sergey Kozlov Fix For: sprint-7 1. Start 3 nodes by bin/ignite.sh examples/config/example-ignite.xml 2. Run various java examples from example project 3. Run IgniteAtomicReferenceExample and get following: {noformat} >>> Atomic reference example started. Atomic reference initial value : 2cfdd6bb-94ca-410f-aa6e-6846fb6d1a6d. [12:51:48,411][INFO][main][GridDeploymentLocalStore] Class locally deployed: class org.apache.ignite.examples.datastructures.IgniteAtomicReferenceExample$ReferenceClosure [12:51:48,445][SEVERE][ignite-#24%sys-null%][GridTaskWorker] Failed to obtain remote job result policy for result from ComputeTask.result(..) method (will fail the whole task): GridJobResultImpl [job=C4 [], sib=GridJobSiblingImpl [sesId=d5dd4160e41-9f2dc6f8-e06f-459d-9dfe-8130fd388fef, jobId=56dd4160e41-e62fdc5f-575c-46f6-aa52-e8e8fab0922d, nodeId=e62fdc5f-575c-46f6-aa52-e8e8fab0922d, isJobDone=false], jobCtx=GridJobContextImpl [jobId=56dd4160e41-e62fdc5f-575c-46f6-aa52-e8e8fab0922d, timeoutObj=null, attrs={}], node=TcpDiscoveryNode [id=e62fdc5f-575c-46f6-aa52-e8e8fab0922d, addrs=[192.168.2.24, 0:0:0:0:0:0:0:1%1, 127.0.0.1], sockAddrs=[teamcity24/192.168.2.24:47502, /192.168.2.24:47502, /0:0:0:0:0:0:0:1%1:47502, /127.0.0.1:47502], discPort=47502, order=3, intOrder=3, loc=false, ver=1.1.3#20150618-sha1:d874b00d, isClient=false], ex=class o.a.i.IgniteDeploymentException: Task was not deployed or was redeployed since task execution [taskName=o.a.i.examples.datastructures.IgniteAtomicReferenceExample$ReferenceClosure, taskClsName=o.a.i.examples.datastructures.IgniteAtomicReferenceExample$ReferenceClosure, codeVer=0, clsLdrId=aecd4160e41-9f2dc6f8-e06f-459d-9dfe-8130fd388fef, seqNum=1434621107434, depMode=SHARED, dep=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:102) at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:832) at org.apache.ignite.internal.processors.task.GridTaskWorker$3.apply(GridTaskWorker.java:825) at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6177) at org.apache.ignite.internal.processors.task.GridTaskWorker.result(GridTaskWorker.java:825) at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:721) at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:932) at org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1156) at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:690) at org.apache.ignite.internal.managers.communication.GridIoManager.access$1500(GridIoManager.java:58) at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:653) 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.IgniteDeploymentException: Task was not deployed or was redeployed since task execution [taskName=org.apache.ignite.examples.datastructures.IgniteAtomicReferenceExample$ReferenceClosure, taskClsName=org.apache.ignite.examples.datastructures.IgniteAtomicReferenceExample$ReferenceClosure, codeVer=0, clsLdrId=aecd4160e41-9f2dc6f8-e06f-459d-9dfe-8130fd388fef, seqNum=1434621107434, depMode=SHARED, dep=null] at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1097) at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1728) ... 6 more [12:51:48,448][INFO][main][GridTcpRestProtocol] Command protocol successfully stopped: TCP binary [12:51:48,460][INFO][main][GridCacheProcessor] Stopped cache: ignite-marshaller-sys-cache [12:51:48,460][INFO][main][GridCacheProcessor] Stopped cache: ignite-sys-cache [12:51:48,460][INFO][main][GridCacheProcessor] Stopped cache: ignite-atomics-sys-cache [12:51:48,462][INFO][main][GridDeploymentLocalStore] Removed undeployed class: GridDeployment [ts=1434621107962, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@21a722ef, clsLdrId=aecd4160e41-9f2dc6f8-e06f-459d-9dfe-8130fd388fef, userVer=0, loc=true, sampleClsName=org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap, pendingUndeploy=false, undeployed=true, usage=0] [12:51:48,466][INFO][main][IgniteKernal] {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) |
Free forum by Nabble | Edit this page |