keith-turner commented on code in PR #5609:
URL: https://github.com/apache/accumulo/pull/5609#discussion_r2122092113


##########
server/base/src/main/java/org/apache/accumulo/server/AbstractServer.java:
##########
@@ -181,26 +180,15 @@ public AtomicBoolean getShutdownComplete() {
    * </pre>
    */
   public void runServer() throws Exception {
-    final AtomicReference<Throwable> err = new AtomicReference<>();
     serverThread = new Thread(TraceUtil.wrap(this), applicationName);
-    serverThread.setUncaughtExceptionHandler((thread, exception) -> 
err.set(exception));
+    serverThread.setUncaughtExceptionHandler(Threads.UEH);

Review Comment:
   Did not realize all of that code in start.Main would eventually be called.  
Reverted the changes to AbstractServers so that things would keep working the 
same way between AbstractServer and Main.start



-- 
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]

Reply via email to