diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java old mode 100644 new mode 100755 index 83b0460e07..1dafdd0da4 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java @@ -436,7 +436,7 @@ List blockReport(long fullBrLeaseId) throws IOException { " The reports had " + totalBlockCount + " total blocks and used " + numRPCs + " RPC(s). This took " + brCreateCost + - " msec to generate and " + brSendCost + + " msecs to generate and " + brSendCost + " msecs for RPC and NN processing." + " Got back " + ((nCmds == 0) ? "no commands" : @@ -486,7 +486,7 @@ DatanodeCommand cacheReport() throws IOException { dn.getMetrics().addCacheReport(sendCost); if (LOG.isDebugEnabled()) { LOG.debug("CacheReport of " + blockIds.size() - + " block(s) took " + createCost + " msec to generate and " + + " block(s) took " + createCost + " msecs to generate and " + sendCost + " msecs for RPC and NN processing"); } } @@ -634,9 +634,9 @@ private void handleRollingUpgradeStatus(HeartbeatResponse resp) throws IOExcepti */ private void offerService() throws Exception { LOG.info("For namenode " + nnAddr + " using" - + " BLOCKREPORT_INTERVAL of " + dnConf.blockReportInterval + "msec" - + " CACHEREPORT_INTERVAL of " + dnConf.cacheReportInterval + "msec" - + " Initial delay: " + dnConf.initialBlockReportDelayMs + "msec" + + " BLOCKREPORT_INTERVAL of " + dnConf.blockReportInterval + "msecs" + + " CACHEREPORT_INTERVAL of " + dnConf.cacheReportInterval + "msecs" + + " Initial delay: " + dnConf.initialBlockReportDelayMs + "msecs" + "; heartBeatInterval=" + dnConf.heartBeatInterval + (lifelineSender != null ? "; lifelineIntervalMs=" + dnConf.getLifelineIntervalMs() : ""));