Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-1181

Enforce RSS memory limit in TaskMemoryManagerThread

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 0.20.1
    • Fix Version/s: 0.20.1
    • Component/s: tasktracker
    • Labels:
      None

      Description

      TaskMemoryManagerThread will periodically check the rss memory usage of every task. If the memory usage exceeds the specified threshold, the task will be killed. Also if the total rss memory of all tasks exceeds (total amount of memory - specified reserved memory). The task with least progress will be killed to recover the reserved rss memory.

      This is similar to the virtual memory limit provided by TaskMemoryManagerThread. But now the limit is for rss memory. This new feature allow us to avoid page swapping which is prone to error.

      The following are the related configurations
      mapreduce.reduce.memory.rss.mb // RSS memory allowed for a reduce task
      mapreduce.map.memory.rss.mb // RSS memory allowed for a map task
      mapreduce.tasktracker.reserved.memory.rss.mb // RSS memory reserved (not for tasks) on a tasktracker

        Issue Links

          Activity

          Gavin made changes -
          Link This issue depends upon MAPREDUCE-1167 [ MAPREDUCE-1167 ]
          Gavin made changes -
          Link This issue depends on MAPREDUCE-1167 [ MAPREDUCE-1167 ]
          Scott Chen made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Invalid [ 6 ]
          Scott Chen made changes -
          Link This issue depends on MAPREDUCE-1167 [ MAPREDUCE-1167 ]
          Scott Chen made changes -
          Field Original Value New Value
          Attachment MAPREDUCE-1181.patch [ 12423938 ]
          Scott Chen created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Scott Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development