You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "zhihai xu (JIRA)" <ji...@apache.org> on 2015/09/19 02:43:04 UTC

[jira] [Created] (YARN-4190) Add container information in FairScheduler preemption log to help debug.

zhihai xu created YARN-4190:
-------------------------------

             Summary: Add container information in FairScheduler preemption log to help debug.
                 Key: YARN-4190
                 URL: https://issues.apache.org/jira/browse/YARN-4190
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: fairscheduler
    Affects Versions: 2.7.1
            Reporter: zhihai xu
            Assignee: zhihai xu
            Priority: Trivial


Add container information in FairScheduler preemption log to help debug. Currently the following log doesn't have container information
{code}
LOG.info("Preempting container (prio=" + container.getContainer().getPriority() +
        "res=" + container.getContainer().getResource() +
        ") from queue " + queue.getName());
{code}
So it will be very difficult to debug preemption related issue for FairScheduler.
Even the container information is printed in the following code
{code}
        LOG.info("Killing container" + container +
            " (after waiting for premption for " +
            (getClock().getTime() - time) + "ms)");
{code}
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
(v6.3.4#6332)