From 1c254a8ec78c8dab9111f3ba2709cef20794b73a Mon Sep 17 00:00:00 2001 From: Masatake Iwasaki Date: Thu, 4 Jul 2019 23:20:01 +0900 Subject: [PATCH] HDFS-14629. Property value Hard Coded in DNConf.java. Contributed by hemanthboyina. --- .../java/org/apache/hadoop/hdfs/server/datanode/DNConf.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 00ac64c30d8..c756ed0da42 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 @@ -208,9 +208,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;