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 10000). You're right that the Heap may also be increased.
On Monday, October 21, 2013 5:54 PM, Prashant Kommireddi <[EMAIL PROTECTED]> wrote:
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 should be fixed if I increased the heapsize for sometime), is there a way to configure the number of AppInfos that should be loaded? Or pagination?