Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
0.20.1
-
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
Attachments
Attachments
Issue Links
- depends upon
-
MAPREDUCE-1167 Make ProcfsBasedProcessTree collect rss memory information
- Closed