From c5af93cd47716431966ba13dd2a98b9540e536f1 Mon Sep 17 00:00:00 2001 From: Vinod Kumar Vavilapalli Date: Thu, 27 Feb 2014 01:30:07 +0000 Subject: [PATCH] MAPREDUCE-5766. Moved ping messages from TaskAttempts to be at DEBUG level inside the ApplicationMaster log. Contributed by Jian He. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1572381 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/hadoop/mapred/TaskAttemptListenerImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapred/TaskAttemptListenerImpl.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapred/TaskAttemptListenerImpl.java index aae95d47fe1..e4ed4eb85ee 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapred/TaskAttemptListenerImpl.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapred/TaskAttemptListenerImpl.java @@ -291,7 +291,9 @@ public class TaskAttemptListenerImpl extends CompositeService @Override public boolean ping(TaskAttemptID taskAttemptID) throws IOException { - LOG.info("Ping from " + taskAttemptID.toString()); + if (LOG.isDebugEnabled()) { + LOG.debug("Ping from " + taskAttemptID.toString()); + } return true; } @@ -319,7 +321,6 @@ public class TaskAttemptListenerImpl extends CompositeService @Override public boolean statusUpdate(TaskAttemptID taskAttemptID, TaskStatus taskStatus) throws IOException, InterruptedException { - LOG.info("Status update from " + taskAttemptID.toString()); org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId yarnAttemptID = TypeConverter.toYarn(taskAttemptID); taskHeartbeatHandler.progressing(yarnAttemptID);