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
|
||||
jlowe)
|
||||
|
||||
MAPREDUCE-5766. Moved ping messages from TaskAttempts to be at DEBUG level
|
||||
inside the ApplicationMaster log. (Jian He via vinodkv)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
@ -360,12 +360,13 @@ public AMFeedback statusUpdate(TaskAttemptID taskAttemptID,
|
||||
|
||||
if (taskStatus == null) {
|
||||
//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;
|
||||
}
|
||||
|
||||
// if we are here there is an actual status update to be processed
|
||||
LOG.info("Status update from " + taskAttemptID.toString());
|
||||
|
||||
taskHeartbeatHandler.progressing(yarnAttemptID);
|
||||
TaskAttemptStatus taskAttemptStatus =
|
||||
@ -453,7 +454,7 @@ public JvmTask getTask(JvmContext context) throws IOException {
|
||||
|
||||
JVMId jvmId = context.jvmId;
|
||||
LOG.info("JVM with ID : " + jvmId + " asked for a task");
|
||||
|
||||
|
||||
JvmTask jvmTask = null;
|
||||
// TODO: Is it an authorized container to get a task? Otherwise return null.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user