dlmarion commented on issue #6078:
URL: https://github.com/apache/accumulo/issues/6078#issuecomment-3817993082

   The comment on that stack overflow page says that the default value for 
`log4j2.enableShutdownHook` is `true` unless running in a servlet environment. 
That might be the case w/r/t Monitor dependencies.
   
   I have had a similar issue before, see #2885 , which was due to async 
logging being used with log4j2. Looking at the code in Main that executes the 
KeywordExecutables:
   
   
https://github.com/apache/accumulo/blob/bd6b760dd6e7c24d08a9346d238bc2a917c73213/start/src/main/java/org/apache/accumulo/start/Main.java#L119-L128
   
   The logging would get printed if an exception was thrown. I think the issue 
here is that the KeywordExecutable is using `System.exit` instead of throwing 
an exception and letting `die` handle it. 


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