[GitHub] spark pull request #14794: [SPARK-15083][WEB UI] History Server can OOM due ...

2016-08-25 Thread ajbozarth
Github user ajbozarth closed the pull request at:

https://github.com/apache/spark/pull/14794


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request #14794: [SPARK-15083][WEB UI] History Server can OOM due ...

2016-08-24 Thread ajbozarth
GitHub user ajbozarth opened a pull request:

https://github.com/apache/spark/pull/14794

[SPARK-15083][WEB UI] History Server can OOM due to unlimited TaskUIData

## What changes were proposed in this pull request?

This is a back port of #14673 addressing merge conflicts in package.scala 
that prevented a cherry-pick to `branch-2.0`

Since the History Server currently loads all application's data it can OOM 
if too many applications have a significant task count. Trims tasks by 
`spark.ui.retainedTasks` (default: 10)

## 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-branch-2.0

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/spark/pull/14794.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 #14794


commit 57dcb6bf1d49f49b60b7d5a31a54bc9dfe0bfc95
Author: Alex Bozarth 
Date:   2016-08-24T19:39:41Z

[SPARK-15083][WEB UI] History Server can OOM due to unlimited TaskUIData

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: 1)

(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)

Manual testing and dev/run-tests


![spark-15083](https://cloud.githubusercontent.com/assets/13952758/17713694/fe82d246-63b0-11e6-9697-b87ea75ff4ef.png)

Author: Alex Bozarth 

Closes #14673 from ajbozarth/spark15083.




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org