Selaa lähdekoodia

HDFS-15157. Fix compilation failure for branch-3.1. Contributed by Ayush Saxena

Ayush Saxena 5 vuotta sitten
vanhempi
commit
547f1798aa

+ 1 - 1
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;