Skip to content

Commit

Permalink
Fix log info message
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwin Shankar committed May 8, 2015
1 parent cf8b6cf commit 90900cf
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,7 @@ private[yarn] class YarnAllocator(
// there are some exit status' we shouldn't necessarily count against us, but for
// now I think its ok as none of the containers are expected to exit
if (completedContainer.getExitStatus == ContainerExitStatus.PREEMPTED) {
logInfo("Container killed: " + containerId +
". Exit status: " + completedContainer.getExitStatus +
". Diagnostics: " + completedContainer.getDiagnostics)
logInfo("Container preempted: " + containerId)
} else if (completedContainer.getExitStatus == -103) { // vmem limit exceeded
logWarning(memLimitExceededLogMessage(
completedContainer.getDiagnostics,
Expand Down

0 comments on commit 90900cf

Please sign in to comment.