Skip to content

Commit 1c254a8

Browse files
committed
HDFS-14629. Property value Hard Coded in DNConf.java. Contributed by hemanthboyina.
1 parent 729cb3a commit 1c254a8

File tree

1 file changed

+3
-3
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode

1 file changed

+3
-3
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DNConf.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ public DNConf(final Configurable dn) {
208208
TimeUnit.SECONDS, TimeUnit.MILLISECONDS);
209209
if (initBRDelay >= blockReportInterval) {
210210
initBRDelay = 0;
211-
DataNode.LOG.info("dfs.blockreport.initialDelay is "
212-
+ "greater than or equal to" + "dfs.blockreport.intervalMsec."
213-
+ " Setting initial delay to 0 msec:");
211+
DataNode.LOG.info(DFS_BLOCKREPORT_INITIAL_DELAY_KEY + " is "
212+
+ "greater than or equal to" + DFS_BLOCKREPORT_INTERVAL_MSEC_KEY
213+
+ ". Setting initial delay to 0 msec:");
214214
}
215215
initialBlockReportDelayMs = initBRDelay;
216216

0 commit comments

Comments
 (0)