This is an automated email from the ASF dual-hosted git repository.

hexiaoqiao pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new dd6b2ce  HDFS-16138. BlockReportProcessingThread exit doesn't print 
the actual stack (#3244). Contributed by  Renukaprasad C.
dd6b2ce is described below

commit dd6b2cebed704e2e7b0b6b81804571cc92f81bae
Author: Renukaprasad C <[email protected]>
AuthorDate: Sun Sep 5 14:37:59 2021 +0530

    HDFS-16138. BlockReportProcessingThread exit doesn't print the actual stack 
(#3244). Contributed by  Renukaprasad C.
---
 .../org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
index ead915f..d9eb893 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
@@ -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);
       }

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to