MAPREDUCE-3057. Job History Server goes of OutOfMemory with 1200 Jobs and Heap Size set to 10 GB. (Eric Payne via mahadev) - Merging r1183545 from trunk

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1183547 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mahadev Konar 2011-10-14 22:52:05 +00:00
parent ffbe012b91
commit 34418d0c91
2 changed files with 4 additions and 1 deletions

View File

@ -1572,6 +1572,9 @@ Release 0.23.0 - Unreleased
MAPREDUCE-3124. Fixed location of native libs i.e. libhadoop.so for
containers. (John George via acmurthy)
MAPREDUCE-3057. Job History Server goes of OutOfMemory with 1200 Jobs
and Heap Size set to 10 GB. (Eric Payne via mahadev)
Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES

View File

@ -71,7 +71,7 @@ import org.apache.hadoop.yarn.service.AbstractService;
public class JobHistory extends AbstractService implements HistoryContext {
private static final int DEFAULT_JOBLIST_CACHE_SIZE = 20000;
private static final int DEFAULT_LOADEDJOB_CACHE_SIZE = 2000;
private static final int DEFAULT_LOADEDJOB_CACHE_SIZE = 5;
private static final int DEFAULT_DATESTRING_CACHE_SIZE = 200000;
private static final long DEFAULT_MOVE_THREAD_INTERVAL = 3 * 60 * 1000l; //3 minutes
private static final int DEFAULT_MOVE_THREAD_COUNT = 3;