HDFS-16138. BlockReportProcessingThread exit doesn't print the actual stack (#3244). Contributed by Renukaprasad C.
This commit is contained in:
parent
364a1fbfb3
commit
dd6b2cebed
|
@ -5189,6 +5189,8 @@ public class BlockManager implements BlockStatsMXBean {
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue