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

ContainersMonitorImpl logged message lacks detail when exceeding memory limits

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • nodemanager
    • None
    • Reviewed

    Description

      Currently in the RM logs container memory usage for a container that exceeds the memory limit is reported like this:

      2016-06-14 09:15:36,694 INFO [AsyncDispatcher event handler] org.apache.hadoop.mapreduce.v2.app.job.impl.TaskAttemptImpl: Diagnostics report from attempt_1464251583966_0932_r_000876_0: Container [pid=134938,containerID=container_1464251583966_0932_01_002237] is running beyond physical memory limits. Current usage: 1.0 GB of 1 GB physical memory used; 1.9 GB of 2.1 GB virtual memory used. Killing container.
      

      Two enhancements as part of this jira:

      • make it clearer which limit we exceed
      • show exactly how much we exceeded the limit by

      Attachments

        1. YARN-7580.002.patch
          5 kB
          wilfreds#1
        2. YARN-7580.001.patch
          5 kB
          wilfreds#1

        Activity

          People

            wilfreds Wilfred Spiegelenburg
            wilfreds Wilfred Spiegelenburg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: