You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing a remote task, a typical Ignite exception is too verbose, and looks like this:
ava.util.concurrent.CompletionException: 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): Failed to execute job due to unexpected runtime exception [jobId=6a09ffe4171-e54dd9fe-441d-4a77-bf16-38120f7ca898, ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=org.terracotta.angela.client.Tsa$$Lambda$279/2139172958, dep=GridDeployment [ts=1586168305461, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@18b4aac2, clsLdrId=1909ffe4171-e54dd9fe-441d-4a77-bf16-38120f7ca898, userVer=0, loc=true, sampleClsName=org.apache.ignite.internal.processors.cache.mvcc.MvccProcessorImpl, pendingUndeploy=false, undeployed=false, usage=2], taskClsName=org.terracotta.angela.client.Tsa$$Lambda$279/2139172958, sesId=5a09ffe4171-e54dd9fe-441d-4a77-bf16-38120f7ca898, startTime=1586168306345, endTime=9223372036854775807, taskNodeId=e54dd9fe-441d-4a77-bf16-38120f7ca898, clsLdr=sun.misc.Launcher$AppClassLoader@18b4aac2, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, internal=false, topPred=null, subjId=e54dd9fe-441d-4a77-bf16-38120f7ca898, mapFut=IgniteFuture [orig=GridFutureAdapter [ignoreInterrupts=false, state=INIT, res=null, hash=2089045485]], execName=null], jobId=6a09ffe4171-e54dd9fe-441d-4a77-bf16-38120f7ca898], err=TC server died while waiting on state-change condition]
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1643)
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: 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): Failed to execute job due to unexpected runtime exception [jobId=6a09ffe4171-e54dd9fe-441d-4a77-bf16-38120f7ca898, ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=org.terracotta.angela.client.Tsa$$Lambda$279/2139172958, dep=GridDeployment [ts=1586168305461, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@18b4aac2, clsLdrId=1909ffe4171-e54dd9fe-441d-4a77-bf16-38120f7ca898, userVer=0, loc=true, sampleClsName=org.apache.ignite.internal.processors.cache.mvcc.MvccProcessorImpl, pendingUndeploy=false, undeployed=false, usage=2], taskClsName=org.terracotta.angela.client.Tsa$$Lambda$279/2139172958, sesId=5a09ffe4171-e54dd9fe-441d-4a77-bf16-38120f7ca898, startTime=1586168306345, endTime=9223372036854775807, taskNodeId=e54dd9fe-441d-4a77-bf16-38120f7ca898, clsLdr=sun.misc.Launcher$AppClassLoader@18b4aac2, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, internal=false, topPred=null, subjId=e54dd9fe-441d-4a77-bf16-38120f7ca898, mapFut=IgniteFuture [orig=GridFutureAdapter [ignoreInterrupts=false, state=INIT, res=null, hash=2089045485]], execName=null], jobId=6a09ffe4171-e54dd9fe-441d-4a77-bf16-38120f7ca898], err=TC server died while waiting on state-change condition]
at org.apache.ignite.compute.ComputeTaskAdapter.result(ComputeTaskAdapter.java:102)
at org.apache.ignite.internal.processors.task.GridTaskWorker$5.apply(GridTaskWorker.java:1062)
at org.apache.ignite.internal.processors.task.GridTaskWorker$5.apply(GridTaskWorker.java:1055)
at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:7037)
at org.apache.ignite.internal.processors.task.GridTaskWorker.result(GridTaskWorker.java:1055)
at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:862)
at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:1146)
at org.apache.ignite.internal.processors.job.GridJobWorker.finishJob(GridJobWorker.java:941)
at org.apache.ignite.internal.processors.job.GridJobWorker.finishJob(GridJobWorker.java:789)
at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:639)
at org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:499)
at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: class org.apache.ignite.compute.ComputeUserUndeclaredException: Failed to execute job due to unexpected runtime exception [jobId=6a09ffe4171-e54dd9fe-441d-4a77-bf16-38120f7ca898, ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=org.terracotta.angela.client.Tsa$$Lambda$279/2139172958, dep=GridDeployment [ts=1586168305461, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@18b4aac2, clsLdrId=1909ffe4171-e54dd9fe-441d-4a77-bf16-38120f7ca898, userVer=0, loc=true, sampleClsName=org.apache.ignite.internal.processors.cache.mvcc.MvccProcessorImpl, pendingUndeploy=false, undeployed=false, usage=2], taskClsName=org.terracotta.angela.client.Tsa$$Lambda$279/2139172958, sesId=5a09ffe4171-e54dd9fe-441d-4a77-bf16-38120f7ca898, startTime=1586168306345, endTime=9223372036854775807, taskNodeId=e54dd9fe-441d-4a77-bf16-38120f7ca898, clsLdr=sun.misc.Launcher$AppClassLoader@18b4aac2, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, internal=false, topPred=null, subjId=e54dd9fe-441d-4a77-bf16-38120f7ca898, mapFut=IgniteFuture [orig=GridFutureAdapter [ignoreInterrupts=false, state=INIT, res=null, hash=2089045485]], execName=null], jobId=6a09ffe4171-e54dd9fe-441d-4a77-bf16-38120f7ca898], err=TC server died while waiting on state-change condition]
at org.apache.ignite.internal.processors.job.GridJobWorker.handleThrowable(GridJobWorker.java:697)
at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:629)
... 5 more
Caused by: java.lang.RuntimeException: TC server died while waiting on state-change condition
at org.terracotta.angela.common.TerracottaServerInstance.waitForState(TerracottaServerInstance.java:148)
at org.terracotta.angela.agent.AgentController.waitForTsaInState(AgentController.java:297)
at org.terracotta.angela.client.Tsa.lambda$start$7b0bf020$1(Tsa.java:255)
at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.execute(GridClosureProcessor.java:1944)
at org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:576)
at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:7005)
at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:570)
... 5 more
Is it possible to simplify. it and only keep the root cause (last block of the stack trace) :
Caused by: java.lang.RuntimeException: TC server died while waiting on state-change condition
at org.terracotta.angela.common.TerracottaServerInstance.waitForState(TerracottaServerInstance.java:148)
at org.terracotta.angela.agent.AgentController.waitForTsaInState(AgentController.java:297)
at org.terracotta.angela.client.Tsa.lambda$start$7b0bf020$1(Tsa.java:255)
at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4.execute(GridClosureProcessor.java:1944)
at org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:576)
at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:7005)
at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:570)
... 5 more
The text was updated successfully, but these errors were encountered:
When executing a remote task, a typical Ignite exception is too verbose, and looks like this:
Is it possible to simplify. it and only keep the root cause (last block of the stack trace) :
The text was updated successfully, but these errors were encountered: