HDFS-3240. Drop log level of "heartbeat: ..." in BPServiceActor to DEBUG. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1311576 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2012-04-10 05:11:53 +00:00
parent e10e3c0c20
commit 8c1026b4c5
2 changed files with 6 additions and 1 deletions

View File

@ -226,6 +226,9 @@ Release 2.0.0 - UNRELEASED
HDFS-3226. Allow GetConf tool to print arbitrary keys (todd)
HDFS-3240. Drop log level of "heartbeat: ..." in BPServiceActor to DEBUG
(todd)
OPTIMIZATIONS
HDFS-2477. Optimize computing the diff between a block report and the

View File

@ -417,7 +417,9 @@ class BPServiceActor implements Runnable {
HeartbeatResponse sendHeartBeat() throws IOException {
LOG.info("heartbeat: " + this);
if (LOG.isDebugEnabled()) {
LOG.debug("Sending heartbeat from service actor: " + this);
}
// reports number of failed volumes
StorageReport[] report = { new StorageReport(bpRegistration.getStorageID(),
false,