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

ContainersMonitorImpl logged message lacks detail when exceeding memory limits

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: nodemanager
    • Labels:
      None
    • Hadoop Flags:
      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.001.patch
          5 kB
          Wilfred Spiegelenburg
        2. YARN-7580.002.patch
          5 kB
          Wilfred Spiegelenburg

          Activity

            People

            • Assignee:
              wilfreds Wilfred Spiegelenburg
              Reporter:
              wilfreds Wilfred Spiegelenburg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: