HDFS-16138. BlockReportProcessingThread exit doesn't print the actual stack (#3244). Contributed by Renukaprasad C.

This commit is contained in:
Renukaprasad C 2021-09-05 14:37:59 +05:30 committed by GitHub
parent 364a1fbfb3
commit dd6b2cebed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -5189,6 +5189,8 @@ public class BlockManager implements BlockStatsMXBean {
try {
processQueue();
} catch (Throwable t) {
LOG.error("Error while processing the block report, terminating the "
+ "process", t);
ExitUtil.terminate(1,
getName() + " encountered fatal exception: " + t);
}