From 547f1798aad0a7ab9a1c586402317f728f29d1e7 Mon Sep 17 00:00:00 2001 From: Ayush Saxena Date: Sun, 9 Feb 2020 08:14:33 +0530 Subject: [PATCH] HDFS-15157. Fix compilation failure for branch-3.1. Contributed by Ayush Saxena --- .../datanode/fsdataset/impl/TestLazyPersistReplicaRecovery.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestLazyPersistReplicaRecovery.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestLazyPersistReplicaRecovery.java index 5fa470c86e0..bf2b5b5dfd6 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestLazyPersistReplicaRecovery.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestLazyPersistReplicaRecovery.java @@ -99,7 +99,7 @@ public class TestLazyPersistReplicaRecovery extends LazyPersistTestCase { GenericTestUtils .waitFor(() -> lastCount != storage.getBlockReportCount(), 10, 10000); } catch (TimeoutException te) { - LOG.error("Timeout waiting for block report for {}", dnd); + LOG.error("Timeout waiting for block report for datanode: " + dnd); return false; } return true;