HDFS-8207. Improper log message when blockreport interval compared with initial delay. Contributed by Brahma Reddy Battula and Ashish Singhi.

(cherry picked from commit 888e630990)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
This commit is contained in:
Tsuyoshi Ozawa 2015-05-08 18:05:24 +09:00
parent 595b92e2c2
commit 8109f29ee2
2 changed files with 6 additions and 2 deletions

View File

@ -189,6 +189,9 @@ Release 2.8.0 - UNRELEASED
HDFS-7847. Modify NNThroughputBenchmark to be able to operate on a remote HDFS-7847. Modify NNThroughputBenchmark to be able to operate on a remote
NameNode (Charles Lamb via Colin P. McCabe) NameNode (Charles Lamb via Colin P. McCabe)
HDFS-8207. Improper log message when blockreport interval compared with
initial delay. (Brahma Reddy Battula and Ashish Singhi via ozawa)
OPTIMIZATIONS OPTIMIZATIONS
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than

View File

@ -155,8 +155,9 @@ public class DNConf {
DFS_BLOCKREPORT_INITIAL_DELAY_DEFAULT) * 1000L; DFS_BLOCKREPORT_INITIAL_DELAY_DEFAULT) * 1000L;
if (initBRDelay >= blockReportInterval) { if (initBRDelay >= blockReportInterval) {
initBRDelay = 0; initBRDelay = 0;
DataNode.LOG.info("dfs.blockreport.initialDelay is greater than " + DataNode.LOG.info("dfs.blockreport.initialDelay is "
"dfs.blockreport.intervalMsec." + " Setting initial delay to 0 msec:"); + "greater than or equal to" + "dfs.blockreport.intervalMsec."
+ " Setting initial delay to 0 msec:");
} }
initialBlockReportDelay = initBRDelay; initialBlockReportDelay = initBRDelay;