You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by vgrigorev <vg...@mail.ru> on 2018/09/04 08:18:28 UTC

IgniteInterruptedException: Got interrupted while waiting for future to complete

We got exception IgniteInterruptedException: Got interrupted while waiting
for future to complete. 

Details: 
- We do not making any interruptions. 
So it produces ignite internally, and we must have any information why it is
happen, so we can try find what we are doing for this to appear. 
So please clarify how to find reason of thread interrution. 
- We making loading data with igniteCache.putAll() and 100.000 records with
one transaction 
After loading some hung happen or this exception appears. 
JFR of hung period is added to this post. 
- General scenario: 
ignite service call remote ignite service which call cache to load data
within transaction. 
- Ignite version 2.3 

What may be reason of this error ? 
Or, what to do to find it ? 

*JFR*
flight_recording_tkdmpig069010_5_.jfr
<http://apache-ignite-users.70518.x6.nabble.com/file/t1715/flight_recording_tkdmpig069010_5_.jfr>  


Stack: 
2:05:26:811|[pub-#2400%akb.dmp%]|ERROR|r.a.d.t.r.ImportResourceJob | Can't
load resources
`[ru.at_consulting.dmp.new_schema.model.resource.FtpFileResource@a1f6d377,
ru.at_consulting.dmp.new_schema.model.resource.FtpFileResource@a1f6cff4,
ru.at_consulting.dmp.new_schema.model.resource.FtpFileResource@4b785ac5]`org.apache.ignite.IgniteInterruptedException:
Got interrupted while waiting for future to complete. 
  at
org.apache.ignite.internal.util.IgniteUtils$3.apply(IgniteUtils.java:805) 
  at
org.apache.ignite.internal.util.IgniteUtils$3.apply(IgniteUtils.java:803) 
  ... 15 common frames omitted 
Wrapped by: javax.cache.CacheException: class
org.apache.ignite.IgniteInterruptedException:* Got interrupted while waiting
for future to complete.* 
  at
org.apache.ignite.internal.processors.cache.GridCacheUtils.convertToCacheException(GridCacheUtils.java:1287) 
  at
org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.cacheException(IgniteCacheProxyImpl.java:1648) 
  at
org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.get(IgniteCacheProxyImpl.java:831) 
  at
org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.get(GatewayProtectedCacheProxy.java:662) 
  at
ru.at_consulting.dmp.km.ResourceWatchDog.getResourceImportInfo(ResourceWatchDog.java:255) 
  at
ru.at_consulting.dmp.tasks.resource_import.ImportResourceJob.execute(ImportResourceJob.java:130) 
  at
ru.at_consulting.dmp.tasks.resource_import.ImportResourceJob.execute(ImportResourceJob.java:34) 
  at
org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:566) 
  at
org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6631) 
  at
org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:560) 
  at
org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:489) 
  at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) 
  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:748) 




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: IgniteInterruptedException: Got interrupted while waiting for future to complete

Posted by "Maxim.Pudov" <pu...@gmail.com>.
Hello.
Do you really need to add all this data in a single transaction? That's not
a typical use case. Do you have any other operations running in parallel?
Unfortunately, having this stack trace is not enough to help. Could you
provide a full ignite log and your configuration as well?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/