Skip to content

Commit 5283787

Browse files
committed
HDFS-12012. Fix spelling mistakes in BPServiceActor.java. Contributed by chencan.
1 parent 02015e3 commit 5283787

File tree

1 file changed

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

1 file changed

+5
-5
lines changed

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

100644100755
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ List<DatanodeCommand> blockReport(long fullBrLeaseId) throws IOException {
436436
" The reports had " + totalBlockCount +
437437
" total blocks and used " + numRPCs +
438438
" RPC(s). This took " + brCreateCost +
439-
" msec to generate and " + brSendCost +
439+
" msecs to generate and " + brSendCost +
440440
" msecs for RPC and NN processing." +
441441
" Got back " +
442442
((nCmds == 0) ? "no commands" :
@@ -486,7 +486,7 @@ DatanodeCommand cacheReport() throws IOException {
486486
dn.getMetrics().addCacheReport(sendCost);
487487
if (LOG.isDebugEnabled()) {
488488
LOG.debug("CacheReport of " + blockIds.size()
489-
+ " block(s) took " + createCost + " msec to generate and "
489+
+ " block(s) took " + createCost + " msecs to generate and "
490490
+ sendCost + " msecs for RPC and NN processing");
491491
}
492492
}
@@ -634,9 +634,9 @@ private void handleRollingUpgradeStatus(HeartbeatResponse resp) throws IOExcepti
634634
*/
635635
private void offerService() throws Exception {
636636
LOG.info("For namenode " + nnAddr + " using"
637-
+ " BLOCKREPORT_INTERVAL of " + dnConf.blockReportInterval + "msec"
638-
+ " CACHEREPORT_INTERVAL of " + dnConf.cacheReportInterval + "msec"
639-
+ " Initial delay: " + dnConf.initialBlockReportDelayMs + "msec"
637+
+ " BLOCKREPORT_INTERVAL of " + dnConf.blockReportInterval + "msecs"
638+
+ " CACHEREPORT_INTERVAL of " + dnConf.cacheReportInterval + "msecs"
639+
+ " Initial delay: " + dnConf.initialBlockReportDelayMs + "msecs"
640640
+ "; heartBeatInterval=" + dnConf.heartBeatInterval
641641
+ (lifelineSender != null ?
642642
"; lifelineIntervalMs=" + dnConf.getLifelineIntervalMs() : ""));

0 commit comments

Comments
 (0)