HDFS-8207. Improper log message when blockreport interval compared with initial delay. Contributed by Brahma Reddy Battula and Ashish Singhi.
This commit is contained in:
parent
6232235df3
commit
888e630990
|
@ -519,6 +519,9 @@ Release 2.8.0 - UNRELEASED
|
|||
HDFS-8314. Move HdfsServerConstants#IO_FILE_BUFFER_SIZE and
|
||||
SMALL_BUFFER_SIZE to the users. (Li Lu via wheat9)
|
||||
|
||||
HDFS-8207. Improper log message when blockreport interval compared with
|
||||
initial delay. (Brahma Reddy Battula and Ashish Singhi via ozawa)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than
|
||||
|
|
|
@ -155,8 +155,9 @@ public class DNConf {
|
|||
DFS_BLOCKREPORT_INITIAL_DELAY_DEFAULT) * 1000L;
|
||||
if (initBRDelay >= blockReportInterval) {
|
||||
initBRDelay = 0;
|
||||
DataNode.LOG.info("dfs.blockreport.initialDelay is greater than " +
|
||||
"dfs.blockreport.intervalMsec." + " Setting initial delay to 0 msec:");
|
||||
DataNode.LOG.info("dfs.blockreport.initialDelay is "
|
||||
+ "greater than or equal to" + "dfs.blockreport.intervalMsec."
|
||||
+ " Setting initial delay to 0 msec:");
|
||||
}
|
||||
initialBlockReportDelay = initBRDelay;
|
||||
|
||||
|
|
Loading…
Reference in New Issue