keith-turner commented on PR #4840:
URL: https://github.com/apache/accumulo/pull/4840#issuecomment-2310927037
When running the new IT can look in the tablet server logs and see the
following new log message for zombie scans.
```
2024-08-26T19:28:27,963 [session.ScanSession] WARN : Scan session with no
client active for 6148ms has a zombie scan thread. Scan session info :
SingleScanSession REMOVED startTime:1724700493420 lastAccessTime:1724700494426
client:127.0.0.1:45214 tableId:1
java.lang.Exception: Fake exception to capture stack trace of zombie scan.
Thread id:134
at java.base/jdk.internal.misc.Unsafe.park(Native Method) ~[?:?]
at
java.base/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
~[?:?]
at
java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:885)
~[?:?]
at
java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireShared(AbstractQueuedSynchronizer.java:1009)
~[?:?]
at
java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1324)
~[?:?]
at
java.base/java.util.concurrent.Semaphore.acquireUninterruptibly(Semaphore.java:504)
~[?:?]
at
org.apache.accumulo.test.ZombieScanIT$ZombieIterator.hasTop(ZombieScanIT.java:93)
~[classes/:?]
at
org.apache.accumulo.core.iteratorsImpl.system.SourceSwitchingIterator.readNext(SourceSwitchingIterator.java:188)
~[classes/:?]
at
org.apache.accumulo.core.iteratorsImpl.system.SourceSwitchingIterator.seek(SourceSwitchingIterator.java:237)
~[classes/:?]
at
org.apache.accumulo.tserver.tablet.TabletBase.nextBatch(TabletBase.java:263)
~[classes/:?]
at org.apache.accumulo.tserver.tablet.Scanner.read(Scanner.java:120)
~[classes/:?]
at
org.apache.accumulo.tserver.scan.NextBatchTask.run(NextBatchTask.java:78)
~[classes/:?]
at
org.apache.accumulo.tserver.session.ScanSession$ScanMeasurer.run(ScanSession.java:70)
~[classes/:?]
at
org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52)
~[classes/:?]
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[?:?]
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[?:?]
at
org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52)
[classes/:?]
at java.base/java.lang.Thread.run(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]