hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhihai xu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-4190) Add container information in FairScheduler preemption log to help debug.
Date Sat, 19 Sep 2015 00:43:04 GMT
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)

Mime
View raw message