zhihai xu created YARN-4190:
Summary: Add container information in FairScheduler preemption log
to help debug.
Project: Hadoop YARN
Issue Type: Improvement
Affects Versions: 2.7.1
Reporter: zhihai xu
Assignee: zhihai xu
Add container information in FairScheduler preemption log to help debug.
Currently the following log doesn't have container information
LOG.info("Preempting container (prio=" + container.getContainer().getPriority()
"res=" + container.getContainer().getResource() +
") from queue " + queue.getName());
So it will be very difficult to debug preemption related issue for
Even the container information is printed in the following code
LOG.info("Killing container" + container +
" (after waiting for premption for " +
(getClock().getTime() - time) + "ms)");
But we can't match these two logs based on the container ID.
It will be very useful to add container information in the first log.
This message was sent by Atlassian JIRA