dlmarion commented on PR #4751:
URL: https://github.com/apache/accumulo/pull/4751#issuecomment-2250181639

   @keith-turner - I don't think this is working as some of the ITs are 
failing. It looks like the ITs that are failing are timing out trying to delete 
the table at the end of the test method. `ShellServerIT.listCompactions` is one 
of the tests that is failing. I was able to grab a stack trace of the 
TabletServer right before the test method timed out and it looks like the minor 
compaction thread can't complete because it's trying to acquire the lock, which 
has been acquired by the thread trying to unload the tablet.
   
   ```
   "Minor compacting 1<<" #130 daemon prio=5 os_prio=0 cpu=9.44ms 
elapsed=58.20s tid=0x00007ff3ac059800 nid=0x4ffbb waiting on condition  
[0x00007ff3be1e4000]
      java.lang.Thread.State: WAITING (parking)
           at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
           - parking to wait for  <0x00000000f248f910> (a 
java.util.concurrent.locks.ReentrantLock$NonfairSync)
           at 
java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:194)
           at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt([email protected]/AbstractQueuedSynchronizer.java:885)
           at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued([email protected]/AbstractQueuedSynchronizer.java:917)
           at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire([email protected]/AbstractQueuedSynchronizer.java:1240)
           at 
java.util.concurrent.locks.ReentrantLock.lock([email protected]/ReentrantLock.java:267)
           at 
org.apache.accumulo.tserver.tablet.Tablet.lockLogLock(Tablet.java:1953)
           at 
org.apache.accumulo.tserver.tablet.DatafileManager.bringMinorCompactionOnline(DatafileManager.java:351)
           at 
org.apache.accumulo.tserver.tablet.Tablet.minorCompact(Tablet.java:506)
           at 
org.apache.accumulo.tserver.tablet.MinorCompactionTask.run(MinorCompactionTask.java:112)
           at 
org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker([email protected]/ThreadPoolExecutor.java:1128)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run([email protected]/ThreadPoolExecutor.java:628)
           at 
org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52)
           at java.lang.Thread.run([email protected]/Thread.java:829)
   
   "tablet migration-Worker-1" #135 daemon prio=5 os_prio=0 cpu=13.63ms 
elapsed=57.57s tid=0x00007ff390029800 nid=0x50018 in Object.wait()  
[0x00007ff3bdee1000]
      java.lang.Thread.State: TIMED_WAITING (on object monitor)
           at java.lang.Object.wait([email protected]/Native Method)
           - waiting on <no object reference available>
           at 
org.apache.accumulo.tserver.tablet.TabletMemory.waitForMinC(TabletMemory.java:137)
           at 
org.apache.accumulo.tserver.tablet.Tablet.completeClose(Tablet.java:1073)
           - waiting to re-lock in wait() <0x00000000f24909f0> (a 
org.apache.accumulo.tserver.tablet.Tablet)
           at org.apache.accumulo.tserver.tablet.Tablet.close(Tablet.java:908)
           at 
org.apache.accumulo.tserver.UnloadTabletHandler.run(UnloadTabletHandler.java:91)
           at 
org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker([email protected]/ThreadPoolExecutor.java:1128)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run([email protected]/ThreadPoolExecutor.java:628)
           at 
org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52)
           at java.lang.Thread.run([email protected]/Thread.java:829)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to