Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
2.1
-
None
Description
Test hangs when IgniteContext.close(...) is called:
[12:20:47]W: [org.apache.ignite:ignite-spark] Thread [name="test-runner-#1%spark.JavaEmbeddedIgniteRDDSelfTest%", id=77, state=WAITING, blockCnt=59, waitCnt=10012] [12:20:47]W: [org.apache.ignite:ignite-spark] Lock [object=scala.concurrent.impl.Promise$CompletionLatch@77d938ab, ownerName=null, ownerId=-1] [12:20:47]W: [org.apache.ignite:ignite-spark] at sun.misc.Unsafe.park(Native Method) [12:20:47]W: [org.apache.ignite:ignite-spark] at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186) [12:20:47]W: [org.apache.ignite:ignite-spark] at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834) [12:20:47]W: [org.apache.ignite:ignite-spark] at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:994) [12:20:47]W: [org.apache.ignite:ignite-spark] at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1303) [12:20:47]W: [org.apache.ignite:ignite-spark] at scala.concurrent.impl.Promise$DefaultPromise.tryAwait(Promise.scala:202) [12:20:47]W: [org.apache.ignite:ignite-spark] at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:218) [12:20:47]W: [org.apache.ignite:ignite-spark] at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:153) [12:20:47]W: [org.apache.ignite:ignite-spark] at org.apache.spark.scheduler.DAGScheduler.runJob(DAGScheduler.scala:619) [12:20:47]W: [org.apache.ignite:ignite-spark] at org.apache.spark.SparkContext.runJob(SparkContext.scala:1918) [12:20:47]W: [org.apache.ignite:ignite-spark] at org.apache.spark.SparkContext.runJob(SparkContext.scala:1931) [12:20:47]W: [org.apache.ignite:ignite-spark] at org.apache.spark.SparkContext.runJob(SparkContext.scala:1944) [12:20:47]W: [org.apache.ignite:ignite-spark] at org.apache.spark.SparkContext.runJob(SparkContext.scala:1958) [12:20:47]W: [org.apache.ignite:ignite-spark] at org.apache.spark.rdd.RDD$$anonfun$foreachPartition$1.apply(RDD.scala:925) [12:20:47]W: [org.apache.ignite:ignite-spark] at org.apache.spark.rdd.RDD$$anonfun$foreachPartition$1.apply(RDD.scala:923) [12:20:47]W: [org.apache.ignite:ignite-spark] at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151) [12:20:47]W: [org.apache.ignite:ignite-spark] at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112) [12:20:47]W: [org.apache.ignite:ignite-spark] at org.apache.spark.rdd.RDD.withScope(RDD.scala:362) [12:20:47]W: [org.apache.ignite:ignite-spark] at org.apache.spark.rdd.RDD.foreachPartition(RDD.scala:923) [12:20:47]W: [org.apache.ignite:ignite-spark] at o.a.i.spark.IgniteContext.close(IgniteContext.scala:168) [12:20:47]W: [org.apache.ignite:ignite-spark] at o.a.i.spark.JavaIgniteContext.close(JavaIgniteContext.scala:68) [12:20:47]W: [org.apache.ignite:ignite-spark] at o.a.i.spark.JavaEmbeddedIgniteRDDSelfTest.testReadDataFromIgnite(JavaEmbeddedIgniteRDDSelfTest.java:181) [12:20:47]W: [org.apache.ignite:ignite-spark] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [12:20:47]W: [org.apache.ignite:ignite-spark] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [12:20:47]W: [org.apache.ignite:ignite-spark] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [12:20:47]W: [org.apache.ignite:ignite-spark] at java.lang.reflect.Method.invoke(Method.java:606) [12:20:47]W: [org.apache.ignite:ignite-spark] at junit.framework.TestCase.runTest(TestCase.java:176) [12:20:47]W: [org.apache.ignite:ignite-spark] at o.a.i.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1997) [12:20:47]W: [org.apache.ignite:ignite-spark] at o.a.i.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:132) [12:20:47]W: [org.apache.ignite:ignite-spark] at o.a.i.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1912) [12:20:47]W: [org.apache.ignite:ignite-spark] at java.lang.Thread.run(Thread.java:745)