diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DNConf.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DNConf.java index 2f0ef784478..4177e0ebb68 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DNConf.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DNConf.java @@ -203,9 +203,9 @@ public class DNConf { TimeUnit.SECONDS, TimeUnit.MILLISECONDS); if (initBRDelay >= blockReportInterval) { initBRDelay = 0; - DataNode.LOG.info("dfs.blockreport.initialDelay is " - + "greater than or equal to" + "dfs.blockreport.intervalMsec." - + " Setting initial delay to 0 msec:"); + DataNode.LOG.info(DFS_BLOCKREPORT_INITIAL_DELAY_KEY + " is " + + "greater than or equal to" + DFS_BLOCKREPORT_INTERVAL_MSEC_KEY + + ". Setting initial delay to 0 msec:"); } initialBlockReportDelayMs = initBRDelay;