[
https://issues.apache.org/jira/browse/HDFS-8207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14534927#comment-14534927
]
Hudson commented on HDFS-8207:
------------------------------
FAILURE: Integrated in Hadoop-Mapreduce-trunk #2137 (See
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2137/])
HDFS-8207. Improper log message when blockreport interval compared with initial
delay. Contributed by Brahma Reddy Battula and Ashish Singhi. (ozawa: rev
888e6309909ee4192ad23e0df79e2918b1ad77ac)
*
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DNConf.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
> Improper log message when blockreport interval compared with initial delay
> --------------------------------------------------------------------------
>
> Key: HDFS-8207
> URL: https://issues.apache.org/jira/browse/HDFS-8207
> Project: Hadoop HDFS
> Issue Type: Improvement
> Affects Versions: 2.7.0
> Reporter: Brahma Reddy Battula
> Assignee: Brahma Reddy Battula
> Priority: Minor
> Labels: BB2015-05-RFC
> Fix For: 2.8.0
>
> Attachments: HDFS-8207.patch, Hadoop-8253.patch, Hadoop-8253.patch
>
>
> Log message is telling if initialDelay is more than blockReportInterval
> setting to 0.
> But actuall check is greaterthan and equal..like following..It is misleading
> initail I thought if it
> is equal then initailBr wn't set to zero.
> {code}
> if (initBRDelay >= blockReportInterval) {
> initBRDelay = 0;
> DataNode.LOG.info("dfs.blockreport.initialDelay is greater than " +
> "dfs.blockreport.intervalMsec." + " Setting initial delay to 0
> msec:");
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)