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
This commit is contained in:
parent
90398cc601
commit
c5af93cd47
|
@ -291,7 +291,9 @@ public class TaskAttemptListenerImpl extends CompositeService
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean ping(TaskAttemptID taskAttemptID) throws IOException {
|
public boolean ping(TaskAttemptID taskAttemptID) throws IOException {
|
||||||
LOG.info("Ping from " + taskAttemptID.toString());
|
if (LOG.isDebugEnabled()) {
|
||||||
|
LOG.debug("Ping from " + taskAttemptID.toString());
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -319,7 +321,6 @@ public class TaskAttemptListenerImpl extends CompositeService
|
||||||
@Override
|
@Override
|
||||||
public boolean statusUpdate(TaskAttemptID taskAttemptID,
|
public boolean statusUpdate(TaskAttemptID taskAttemptID,
|
||||||
TaskStatus taskStatus) throws IOException, InterruptedException {
|
TaskStatus taskStatus) throws IOException, InterruptedException {
|
||||||
LOG.info("Status update from " + taskAttemptID.toString());
|
|
||||||
org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId yarnAttemptID =
|
org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId yarnAttemptID =
|
||||||
TypeConverter.toYarn(taskAttemptID);
|
TypeConverter.toYarn(taskAttemptID);
|
||||||
taskHeartbeatHandler.progressing(yarnAttemptID);
|
taskHeartbeatHandler.progressing(yarnAttemptID);
|
||||||
|
|
Loading…
Reference in New Issue