diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt index 09f6d2c6dc..2e3a564723 100644 --- a/hadoop-mapreduce-project/CHANGES.txt +++ b/hadoop-mapreduce-project/CHANGES.txt @@ -1623,6 +1623,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 diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/JobHistory.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/JobHistory.java index 7e9e67c3c3..4f5749926e 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/JobHistory.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/JobHistory.java @@ -71,7 +71,7 @@ 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;