Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4190

missing container information in FairScheduler preemption log.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Later
    • 2.7.1
    • None
    • fairscheduler
    • None

    Description

      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 FairScheduler.
      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.

      Attachments

        Issue Links

          Activity

            People

              zxu Zhihai Xu
              zxu Zhihai Xu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: