From 12a26d8b1987e883efab00c25a0594512527bd1f Mon Sep 17 00:00:00 2001 From: huhaiyang Date: Wed, 20 Mar 2024 11:22:45 +0800 Subject: [PATCH] HDFS-17431. Fix log format for BlockRecoveryWorker#recoverBlocks (#6643) --- .../apache/hadoop/hdfs/server/datanode/BlockRecoveryWorker.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/BlockRecoveryWorker.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockRecoveryWorker.java index cbdd924e61..35fae42630 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockRecoveryWorker.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockRecoveryWorker.java @@ -628,7 +628,7 @@ public void run() { new RecoveryTaskContiguous(b).recover(); } } catch (IOException e) { - LOG.warn("recover Block: {} FAILED: {}", b, e); + LOG.warn("recover Block: {} FAILED: ", b, e); } } } finally {