keith-turner opened a new issue, #6078:
URL: https://github.com/apache/accumulo/issues/6078

   When running `accumulo admin check` with no options this 
[code](https://github.com/apache/accumulo/blob/a09859d9d80646b5488741b8ea9809e270c4c81f/server/base/src/main/java/org/apache/accumulo/server/util/Admin.java#L1389)
 throws an error.  This 
[code](https://github.com/apache/accumulo/blob/a09859d9d80646b5488741b8ea9809e270c4c81f/server/base/src/main/java/org/apache/accumulo/server/util/Admin.java#L585)
 never logs the error.  Seems like its this 
[issue](https://stackoverflow.com/questions/69626122/why-log4j2-doesnt-log-before-system-exit1).
  The stackoverflow post mentions ` log4j2 enableShutdownHook` but its link to 
those docs are broken.  Have not found the new docs location yet.
   
   Added a 100ms sleep between `log.error()` and `System.exit()` and then the 
error log message showed up.
   
   Saw this issue in 4.0.0, not sure if it exists in 2.1.


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