HDFS-14629. Property value Hard Coded in DNConf.java. Contributed by hemanthboyina.

(cherry picked from commit 1c254a8ec7)
This commit is contained in:
Masatake Iwasaki 2019-07-04 23:20:01 +09:00
parent 9eb96b0fbf
commit 02ae1d6071
1 changed files with 3 additions and 3 deletions

View File

@ -203,9 +203,9 @@ public class DNConf {
TimeUnit.SECONDS, TimeUnit.MILLISECONDS); TimeUnit.SECONDS, TimeUnit.MILLISECONDS);
if (initBRDelay >= blockReportInterval) { if (initBRDelay >= blockReportInterval) {
initBRDelay = 0; initBRDelay = 0;
DataNode.LOG.info("dfs.blockreport.initialDelay is " DataNode.LOG.info(DFS_BLOCKREPORT_INITIAL_DELAY_KEY + " is "
+ "greater than or equal to" + "dfs.blockreport.intervalMsec." + "greater than or equal to" + DFS_BLOCKREPORT_INTERVAL_MSEC_KEY
+ " Setting initial delay to 0 msec:"); + ". Setting initial delay to 0 msec:");
} }
initialBlockReportDelayMs = initBRDelay; initialBlockReportDelayMs = initBRDelay;