GitHub user ajbozarth opened a pull request:
https://github.com/apache/spark/pull/14673
[SPARK-15083] [Web UI] History Server can OOM due to unlimited TaskUIData
## What changes were proposed in this pull request?
Based on #12990 by @tankkyo
Since the History Server currently loads all application's data it can OOM
if too many applications have a significant task count. `spark.ui.trimTasks`
(default: false) can be set to true to trim tasks by `spark.ui.retainedTasks`
(default: 10000)
(This is a "quick fix" to help those running into the problem until a
update of how the history server loads app data can be done)
## How was this patch tested?
Manual testing and dev/run-tests

You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ajbozarth/spark spark15083
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14673.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #14673
----
commit d0aeae6d8c9b623a2f2966af8803c3d7933f6c51
Author: Alex Bozarth <[email protected]>
Date: 2016-08-12T21:37:48Z
Added optonal task trimming (based on @tankkyo code)
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]