Re: ResourceManager webapp code runs OOM

2013-10-23 Thread Ravi Prakash
Hi Prashant! You're welcome. I believe for MR JHS it ought to be mapreduce.jobhistory.joblist.cache.size HTH Ravi On Tuesday, October 22, 2013 7:29 PM, Prashant Kommireddi wrote: Hi Ravi, Are you aware of a similar config for JH server? On Tue, Oct 22, 2013 at 2:41 PM, Prashant Kommi

Re: ResourceManager webapp code runs OOM

2013-10-22 Thread Prashant Kommireddi
Thanks Ravi! On Tue, Oct 22, 2013 at 12:55 PM, Ravi Prakash wrote: > Hi Prashant! > > You can set yarn.resourcemanager.max-completed-applications in > yarn-site.xml of RM to limit the maximum number of apps it keeps track of > (It defaults to 1). You're right that the Heap may also be incre

Re: ResourceManager webapp code runs OOM

2013-10-22 Thread Ravi Prakash
Hi Prashant! You can set yarn.resourcemanager.max-completed-applicationsin yarn-site.xml of RM to limit the maximum number of apps it keeps track of (It defaults to 1). You're right that the Heap may also be increased. HTH Ravi On Monday, October 21, 2013 5:54 PM, Prashant Kommireddi

ResourceManager webapp code runs OOM

2013-10-21 Thread Prashant Kommireddi
Hello, We are noticing the RM running out of memory in the webapp code. It happens in org.apache.hadoop.yarn.server.resourcemanager.webapp.AppsBlock.renderBlock(Block html). The StringBuilder object "appsTableData" grows too large in this case while appending AppInfo. Ignoring the heap size (this