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

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 ravi...@ymail.com 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

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