This is an automated email from the ASF dual-hosted git repository.
tasanuma pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.3 by this push:
new 55f4baf HDFS-16501. Print the exception when reporting a bad block
(#4062)
55f4baf is described below
commit 55f4baf3e4638eff2956b643409c7c6f1138aa2c
Author: qinyuren <[email protected]>
AuthorDate: Wed Mar 23 14:03:17 2022 +0800
HDFS-16501. Print the exception when reporting a bad block (#4062)
Reviewed-by: tomscut <[email protected]>
(cherry picked from commit 45ce1cce50c3ff65676d946e96bbc7846ad3131a)
---
.../main/java/org/apache/hadoop/hdfs/server/datanode/VolumeScanner.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/VolumeScanner.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/VolumeScanner.java
index 0367b4a..2c666a3 100644
---
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/VolumeScanner.java
+++
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/VolumeScanner.java
@@ -293,7 +293,7 @@ public class VolumeScanner extends Thread {
volume, block);
return;
}
- LOG.warn("Reporting bad {} on {}", block, volume);
+ LOG.warn("Reporting bad {} on {}", block, volume, e);
scanner.datanode.handleBadBlock(block, e, true);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]