phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cody Marcel <cmar...@salesforce.com>
Subject Phoenix unit tests hang on JDK 1.8
Date Mon, 18 May 2015 18:55:38 GMT
When I run unit tests in phoenix-core on jdk 1.7 I have no issues, but
running on 1.8, they hang every time. The specific test it hangs on varies
slightly from run to run, but they always hang. Has anyone else seen this?

cmarcel@cmarcel-wsl:~/dev/git-repos/phoenix$ echo $JAVA_HOME
/home/cmarcel/dev/tools/Linux/jdk/jdk1.7.0_80_x64/


[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Phoenix .................................... SUCCESS [1.602s]
[INFO] Phoenix Core ...................................... SUCCESS
[1:26.619s]
[INFO] Phoenix - Flume ................................... SUCCESS [1.769s]
[INFO] Phoenix - Pig ..................................... SUCCESS [4.946s]
[INFO] Phoenix Query Server Client ....................... SUCCESS [0.636s]
[INFO] Phoenix Query Server .............................. SUCCESS [1.341s]
[INFO] Phoenix - Pherf ................................... SUCCESS [20.748s]
[INFO] Phoenix - Spark ................................... SUCCESS [16.556s]
[INFO] Phoenix Assembly .................................. SUCCESS [0.732s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2:15.317s
[INFO] Finished at: Mon May 18 11:46:26 PDT 2015
[INFO] Final Memory: 161M/5903M



------------------------------------------------

cmarcel@cmarcel-wsl:~/dev/git-repos/phoenix$ echo $JAVA_HOME
/home/cmarcel/dev/tools/Linux/jdk/jdk1.8.0_40_x64

....

Running org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec -
in org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter
Running
org.apache.phoenix.hbase.index.covered.example.TestCoveredColumnIndexCodec
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec -
in
org.apache.phoenix.hbase.index.covered.example.TestCoveredColumnIndexCodec
Running org.apache.hadoop.hbase.regionserver.PhoenixRpcSchedulerFactoryTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec -
in org.apache.hadoop.hbase.regionserver.PhoenixRpcSchedulerFactoryTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 6.021 sec -
in org.apache.phoenix.memory.MemoryManagerTest
Running org.apache.hadoop.hbase.ipc.PhoenixIndexRpcSchedulerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 sec -
in org.apache.hadoop.hbase.ipc.PhoenixIndexRpcSchedulerTest

It hanging here.

cmarcel@cmarcel-wsl:~/dev/git-repos/phoenix_os_trunk$ jps
18945 Jps
18719 Launcher
18766 surefirebooter7068754069327554667.jar
cmarcel@cmarcel-wsl:~/dev/git-repos/phoenix_os_trunk$ jstack 18766
2015-05-18 11:53:15
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.40-b25 mixed mode):

"Attach Listener" #16 daemon prio=9 os_prio=0 tid=0x00007f4bcc001000
nid=0x4a2a waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"pool-13-thread-1" #15 prio=5 os_prio=0 tid=0x00007f4c252f4800 nid=0x49a3
waiting on condition [0x00007f4be1926000]
   java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for  <0x0000000793c8b368> (a
java.util.concurrent.CountDownLatch$Sync)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:997)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231)
at
org.apache.phoenix.hbase.index.write.TestIndexWriter$3.answer(TestIndexWriter.java:176)
at
org.apache.phoenix.hbase.index.write.TestIndexWriter$3.answer(TestIndexWriter.java:173)
at
org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:31)
- locked <0x0000000793c94ba0> (a java.util.concurrent.ConcurrentLinkedQueue)
at org.mockito.internal.MockHandler.handle(MockHandler.java:97)
at
org.mockito.internal.creation.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:47)
at
org.apache.hadoop.hbase.client.HTableInterface$$EnhancerByMockitoWithCGLIB$$77c7a133.batch(<generated>)
at
org.apache.phoenix.hbase.index.write.ParallelWriterIndexCommitter$1.call(ParallelWriterIndexCommitter.java:169)
at
org.apache.phoenix.hbase.index.write.ParallelWriterIndexCommitter$1.call(ParallelWriterIndexCommitter.java:128)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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)

"Timer for 'phoenix' metrics system" #10 daemon prio=5 os_prio=0
tid=0x00007f4c24bfb000 nid=0x4997 in Object.wait() [0x00007f4be1760000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.util.TimerThread.mainLoop(Timer.java:552)
- locked <0x0000000733626238> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:505)

"Service Thread" #9 daemon prio=9 os_prio=0 tid=0x00007f4c24270800
nid=0x498e runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C1 CompilerThread3" #8 daemon prio=9 os_prio=0 tid=0x00007f4c24253000
nid=0x498d waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread2" #7 daemon prio=9 os_prio=0 tid=0x00007f4c24251000
nid=0x498c waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread1" #6 daemon prio=9 os_prio=0 tid=0x00007f4c2424f000
nid=0x498b waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" #5 daemon prio=9 os_prio=0 tid=0x00007f4c2424c800
nid=0x498a waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" #4 daemon prio=9 os_prio=0 tid=0x00007f4c2424b000
nid=0x4988 runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007f4c24212800 nid=0x497e in
Object.wait() [0x00007f4be34a9000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
- locked <0x0000000733618618> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)

"Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00007f4c24210800
nid=0x497d in Object.wait() [0x00007f4be35aa000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:157)
- locked <0x000000073361e8a8> (a java.lang.ref.Reference$Lock)

"main" #1 prio=5 os_prio=0 tid=0x00007f4c2400a800 nid=0x4958 waiting on
condition [0x00007f4c2a03c000]
   java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for  <0x0000000793c98358> (a
com.google.common.util.concurrent.AbstractFuture$Sync)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:997)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
at
com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:275)
at
com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:111)
at
org.apache.phoenix.hbase.index.parallel.BaseTaskRunner.submit(BaseTaskRunner.java:66)
at
org.apache.phoenix.hbase.index.parallel.BaseTaskRunner.submitUninterruptible(BaseTaskRunner.java:99)
at
org.apache.phoenix.hbase.index.write.ParallelWriterIndexCommitter.write(ParallelWriterIndexCommitter.java:192)
at
org.apache.phoenix.hbase.index.write.IndexWriter.write(IndexWriter.java:179)
at
org.apache.phoenix.hbase.index.write.IndexWriter.write(IndexWriter.java:169)
at
org.apache.phoenix.hbase.index.write.TestIndexWriter.testFailureOnRunningUpdateAbortsPending(TestIndexWriter.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

"VM Thread" os_prio=0 tid=0x00007f4c2420b800 nid=0x497a runnable

"GC task thread#0 (ParallelGC)" os_prio=0 tid=0x00007f4c2401f800 nid=0x495b
runnable

"GC task thread#1 (ParallelGC)" os_prio=0 tid=0x00007f4c24021800 nid=0x495c
runnable

"GC task thread#2 (ParallelGC)" os_prio=0 tid=0x00007f4c24023000 nid=0x495e
runnable

"GC task thread#3 (ParallelGC)" os_prio=0 tid=0x00007f4c24025000 nid=0x4961
runnable

"GC task thread#4 (ParallelGC)" os_prio=0 tid=0x00007f4c24026800 nid=0x4963
runnable

"GC task thread#5 (ParallelGC)" os_prio=0 tid=0x00007f4c24028800 nid=0x4965
runnable

"GC task thread#6 (ParallelGC)" os_prio=0 tid=0x00007f4c2402a000 nid=0x4967
runnable

"GC task thread#7 (ParallelGC)" os_prio=0 tid=0x00007f4c2402c000 nid=0x496a
runnable

"GC task thread#8 (ParallelGC)" os_prio=0 tid=0x00007f4c2402d800 nid=0x496d
runnable

"GC task thread#9 (ParallelGC)" os_prio=0 tid=0x00007f4c2402f800 nid=0x496e
runnable

"VM Periodic Task Thread" os_prio=0 tid=0x00007f4c2427b000 nid=0x498f
waiting on condition

JNI global references: 79

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message