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

View File

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