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/trunk@1572380 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c080fec82b
commit
cd67d5abcd
|
@ -179,6 +179,9 @@ Release 2.4.0 - UNRELEASED
|
||||||
MAPREDUCE-5754. Preserve Job diagnostics in history (Gera Shegalov via
|
MAPREDUCE-5754. Preserve Job diagnostics in history (Gera Shegalov via
|
||||||
jlowe)
|
jlowe)
|
||||||
|
|
||||||
|
MAPREDUCE-5766. Moved ping messages from TaskAttempts to be at DEBUG level
|
||||||
|
inside the ApplicationMaster log. (Jian He via vinodkv)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -360,12 +360,13 @@ public class TaskAttemptListenerImpl extends CompositeService
|
||||||
|
|
||||||
if (taskStatus == null) {
|
if (taskStatus == null) {
|
||||||
//We are using statusUpdate only as a simple ping
|
//We are using statusUpdate only as a simple ping
|
||||||
LOG.info("Ping from " + taskAttemptID.toString());
|
if (LOG.isDebugEnabled()) {
|
||||||
|
LOG.debug("Ping from " + taskAttemptID.toString());
|
||||||
|
}
|
||||||
return feedback;
|
return feedback;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if we are here there is an actual status update to be processed
|
// if we are here there is an actual status update to be processed
|
||||||
LOG.info("Status update from " + taskAttemptID.toString());
|
|
||||||
|
|
||||||
taskHeartbeatHandler.progressing(yarnAttemptID);
|
taskHeartbeatHandler.progressing(yarnAttemptID);
|
||||||
TaskAttemptStatus taskAttemptStatus =
|
TaskAttemptStatus taskAttemptStatus =
|
||||||
|
@ -453,7 +454,7 @@ public class TaskAttemptListenerImpl extends CompositeService
|
||||||
|
|
||||||
JVMId jvmId = context.jvmId;
|
JVMId jvmId = context.jvmId;
|
||||||
LOG.info("JVM with ID : " + jvmId + " asked for a task");
|
LOG.info("JVM with ID : " + jvmId + " asked for a task");
|
||||||
|
|
||||||
JvmTask jvmTask = null;
|
JvmTask jvmTask = null;
|
||||||
// TODO: Is it an authorized container to get a task? Otherwise return null.
|
// TODO: Is it an authorized container to get a task? Otherwise return null.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue