You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/05/27 16:51:30 UTC

[GitHub] [accumulo] milleruntime commented on pull request #2732: Prevent tserver shutdown when only 1 tserver running.

milleruntime commented on PR #2732:
URL: https://github.com/apache/accumulo/pull/2732#issuecomment-1139794277

   With an ERROR being thrown instead of logged, it looks like the FATE Tx will actually fail:
   <pre>
   2022-05-27T12:43:33,843 [fate.Fate] WARN : Failed to execute Repo, FATE[61940a2dc650bf6c]
   java.lang.IllegalStateException: Only 1 tserver running and it contains the Root table. Not shutting down localhost:9997[100019a892c0005]
           at org.apache.accumulo.manager.tserverOps.ShutdownTServer.isReady(ShutdownTServer.java:62) ~[accumulo-manager-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
           at org.apache.accumulo.manager.tserverOps.ShutdownTServer.isReady(ShutdownTServer.java:38) ~[accumulo-manager-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
           at org.apache.accumulo.manager.tableOps.TraceRepo.isReady(TraceRepo.java:47) ~[accumulo-manager-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
           at org.apache.accumulo.fate.Fate$TransactionRunner.run(Fate.java:89) ~[accumulo-core-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
           at org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52) ~[accumulo-core-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
           at org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52) ~[accumulo-core-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
           at java.lang.Thread.run(Thread.java:829) ~[?:?]
   </pre>


-- 
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: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org