snmvaughan commented on PR #4671:
URL: https://github.com/apache/hadoop/pull/4671#issuecomment-1203382216
LOG.info("Shutting down the Mini HDFS Cluster");
if (checkExitOnShutdown) {
if (ExitUtil.terminateCalled()) {
- LOG.error("Test resulted in an unexpected exit",
- ExitUtil.getFirstExitException());
+ Exception cause = ExitUtil.getFirstExitException();
+ LOG.error("Test resulted in an unexpected exit", cause);
ExitUtil.resetFirstExitException();
- throw new AssertionError("Test resulted in an unexpected exit");
+ throw new AssertionError("Test resulted in an unexpected exit",
cause);
}
}
if (closeFileSystem) {
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]