cshannon commented on issue #4251:
URL: https://github.com/apache/accumulo/issues/4251#issuecomment-1937087564
I'm seeing similar threads hung in the Manager to #4209 that look to be
related to the test stopping the tablet server so the Manager can't scan and
seems to be stuck waiting on the `ClientTabletCache`. Both TabletGroupWatcher
and Fate threads are waiting. The test is waiting for metadata table to come
back (stuck trying to scan the table) after starting the server again but it
seems like it's stuck forever which may be because the Manager is stuck so the
Tserver can't come back.
```
"Fate work finder" #67 daemon prio=5 os_prio=0 cpu=120.97ms elapsed=68.39s
tid=0x00007f66a4106b30 nid=0x2e7eb waiting on condition [0x00007f6720246000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep([email protected]/Native Method)
at java.lang.Thread.sleep([email protected]/Thread.java:344)
at
java.util.concurrent.TimeUnit.sleep([email protected]/TimeUnit.java:446)
at
com.google.common.util.concurrent.Uninterruptibles.sleepUninterruptibly(Uninterruptibles.java:406)
at
org.apache.accumulo.core.clientImpl.RootClientTabletCache.findTablet(RootClientTabletCache.java:149)
at
org.apache.accumulo.core.clientImpl.ClientTabletCache.findTablet(ClientTabletCache.java:120)
at
org.apache.accumulo.core.clientImpl.ClientTabletCacheImpl.lookupTablet(ClientTabletCacheImpl.java:712)
at
org.apache.accumulo.core.clientImpl.ClientTabletCacheImpl.lookupTabletLocationAndCheckLock(ClientTabletCacheImpl.java:891)
at
org.apache.accumulo.core.clientImpl.ClientTabletCacheImpl._findTablet(ClientTabletCacheImpl.java:881)
at
org.apache.accumulo.core.clientImpl.ClientTabletCacheImpl.findTablets(ClientTabletCacheImpl.java:340)
at
org.apache.accumulo.core.clientImpl.ClientTabletCacheImpl.findTablets(ClientTabletCacheImpl.java:450)
at
org.apache.accumulo.core.clientImpl.ClientTabletCacheImpl.processInvalidated(ClientTabletCacheImpl.java:933)
at
org.apache.accumulo.core.clientImpl.ClientTabletCacheImpl.processInvalidatedAndCheckLock(ClientTabletCacheImpl.java:898)
at
org.apache.accumulo.core.clientImpl.ClientTabletCacheImpl._findTablet(ClientTabletCacheImpl.java:862)
at
org.apache.accumulo.core.clientImpl.ClientTabletCacheImpl.findTablet(ClientTabletCacheImpl.java:552)
at
org.apache.accumulo.core.clientImpl.ThriftScanner.getNextScanAddress(ThriftScanner.java:559)
at
org.apache.accumulo.core.clientImpl.ThriftScanner.scan(ThriftScanner.java:662)
at
org.apache.accumulo.core.clientImpl.ScannerIterator.readBatch(ScannerIterator.java:159)
- locked <0x00000000f4761588> (a
org.apache.accumulo.core.clientImpl.ThriftScanner$ScanState)
at
org.apache.accumulo.core.clientImpl.ScannerIterator.getNextBatch(ScannerIterator.java:177)
at
org.apache.accumulo.core.clientImpl.ScannerIterator.hasNext(ScannerIterator.java:111)
at
java.util.Iterator.forEachRemaining([email protected]/Iterator.java:132)
at
java.util.Spliterators$IteratorSpliterator.forEachRemaining([email protected]/Spliterators.java:1845)
at
java.util.stream.AbstractPipeline.copyInto([email protected]/AbstractPipeline.java:509)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto([email protected]/AbstractPipeline.java:499)
at
java.util.stream.ForEachOps$ForEachOp.evaluateSequential([email protected]/ForEachOps.java:150)
at
java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential([email protected]/ForEachOps.java:173)
at
java.util.stream.AbstractPipeline.evaluate([email protected]/AbstractPipeline.java:234)
at
java.util.stream.ReferencePipeline.forEach([email protected]/ReferencePipeline.java:596)
at
org.apache.accumulo.core.fate.AbstractFateStore.runnable(AbstractFateStore.java:175)
at
org.apache.accumulo.core.logging.FateLogger$1.runnable(FateLogger.java:125)
at org.apache.accumulo.core.fate.Fate$WorkFinder.run(Fate.java:93)
at
org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52)
at java.lang.Thread.run([email protected]/Thread.java:840)
Locked ownable synchronizers:
- <0x00000000f1231a48> (a
java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync)
- <0x00000000f124a2a8> (a
java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync)
```
```
"Watching Normal Tablets" #53 daemon prio=5 os_prio=0 cpu=120.39ms
elapsed=68.40s tid=0x00007f66a40e6a30 nid=0x2e7df waiting on condition
[0x00007f6720d51000]
java.lang.Thread.State: WAITING (parking)
at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
- parking to wait for <0x00000000f124a2a8> (a
java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync)
at
java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:211)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire([email protected]/AbstractQueuedSynchronizer.java:715)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared([email protected]/AbstractQueuedSynchronizer.java:1027)
at
java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock([email protected]/ReentrantReadWriteLock.java:738)
at
org.apache.accumulo.core.clientImpl.ClientTabletCacheImpl.findTablets(ClientTabletCacheImpl.java:417)
at
org.apache.accumulo.core.clientImpl.ClientTabletCache.binRanges(ClientTabletCache.java:174)
at
org.apache.accumulo.core.clientImpl.SyncingClientTabletCache.binRanges(SyncingClientTabletCache.java:97)
at
org.apache.accumulo.core.clientImpl.TimeoutClientTabletCache.binRanges(TimeoutClientTabletCache.java:110)
at
org.apache.accumulo.core.clientImpl.TabletServerBatchReaderIterator.binRanges(TabletServerBatchReaderIterator.java:275)
at
org.apache.accumulo.core.clientImpl.TabletServerBatchReaderIterator.lookup(TabletServerBatchReaderIterator.java:249)
- locked <0x00000000f44f2c40> (a
org.apache.accumulo.core.clientImpl.TabletServerBatchReaderIterator)
at
org.apache.accumulo.core.clientImpl.TabletServerBatchReaderIterator.<init>(TabletServerBatchReaderIterator.java:172)
at
org.apache.accumulo.core.clientImpl.TabletServerBatchReader.iterator(TabletServerBatchReader.java:118)
at
org.apache.accumulo.server.manager.state.TabletManagementScanner.<init>(TabletManagementScanner.java:95)
at
org.apache.accumulo.server.manager.state.MetaDataStateStore.iterator(MetaDataStateStore.java:63)
at
org.apache.accumulo.server.manager.state.LoggingTabletStateStore.iterator(LoggingTabletStateStore.java:60)
at
org.apache.accumulo.server.manager.state.TabletStateStore.iterator(TabletStateStore.java:62)
at
org.apache.accumulo.manager.TabletGroupWatcher.run(TabletGroupWatcher.java:681)
Locked ownable synchronizers:
- None
```
--
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]