keith-turner commented on code in PR #5609:
URL: https://github.com/apache/accumulo/pull/5609#discussion_r2121783601
##########
server/base/src/main/java/org/apache/accumulo/server/AbstractServer.java:
##########
@@ -190,9 +190,11 @@ public void runServer() throws Exception {
verificationThread.interrupt();
verificationThread.join();
}
- log.info(getClass().getSimpleName() + " process shut down.");
Throwable thrown = err.get();
- if (thrown != null) {
+ if (thrown == null) {
+ log.info("{} process shut down.", getClass().getSimpleName());
+ } else {
+ log.error("{} process failure.", getClass().getSimpleName(), thrown);
Review Comment:
This change is unrelated to the fix, but its something I noticed while
looking into this. This exception does not seem to be logged, seems it would
only go to stderr.
--
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]