You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "keith-turner (via GitHub)" <gi...@apache.org> on 2026/02/28 01:10:50 UTC
[PR] logs uncaught errors in AbstractServers [accumulo]
keith-turner opened a new pull request, #6161:
URL: https://github.com/apache/accumulo/pull/6161
While working #6139 caused an exception in the servers main threads that also initiated a halt. The halt seemed to preempt java from printing exceptions from the main thread, so the exception was never seen. This made tracking the bug down more difficult.
--
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
Re: [PR] logs uncaught errors in AbstractServer [accumulo]
Posted by "keith-turner (via GitHub)" <gi...@apache.org>.
keith-turner merged PR #6161:
URL: https://github.com/apache/accumulo/pull/6161
--
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
Re: [PR] logs uncaught errors in AbstractServer [accumulo]
Posted by "dlmarion (via GitHub)" <gi...@apache.org>.
dlmarion commented on code in PR #6161:
URL: https://github.com/apache/accumulo/pull/6161#discussion_r2872103416
##########
server/base/src/main/java/org/apache/accumulo/server/AbstractServer.java:
##########
@@ -228,6 +228,7 @@ public void runServer() throws Exception {
log.info(getClass().getSimpleName() + " process shut down.");
Throwable thrown = err.get();
if (thrown != null) {
+ log.error("Uncaught exception ", thrown);
Review Comment:
May also want to do the following:
```
System.err.println("Uncaught execption in AbstractServer.runServer");
thrown.printStackTrace();
```
--
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