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

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1183545 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mahadev Konar 2011-10-14 22:49:19 +00:00
parent b3284c4607
commit b5e21e7e63
2 changed files with 4 additions and 1 deletions

View File

@ -1623,6 +1623,9 @@ Release 0.23.0 - Unreleased
MAPREDUCE-3124. Fixed location of native libs i.e. libhadoop.so for MAPREDUCE-3124. Fixed location of native libs i.e. libhadoop.so for
containers. (John George via acmurthy) 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 Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -71,7 +71,7 @@
public class JobHistory extends AbstractService implements HistoryContext { public class JobHistory extends AbstractService implements HistoryContext {
private static final int DEFAULT_JOBLIST_CACHE_SIZE = 20000; 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 int DEFAULT_DATESTRING_CACHE_SIZE = 200000;
private static final long DEFAULT_MOVE_THREAD_INTERVAL = 3 * 60 * 1000l; //3 minutes private static final long DEFAULT_MOVE_THREAD_INTERVAL = 3 * 60 * 1000l; //3 minutes
private static final int DEFAULT_MOVE_THREAD_COUNT = 3; private static final int DEFAULT_MOVE_THREAD_COUNT = 3;