GitHub user saurfang opened a pull request:
https://github.com/apache/spark/pull/8726
[SPARK-10543] [CORE] Peak Execution Memory Quantile should be Per-task Basis
Read `PEAK_EXECUTION_MEMORY` using `update` to get per task partial value
instead of cumulative value.
I tested with this workload:
```scala
val size = 1000
val repetitions = 10
val data = sc.parallelize(1 to size, 5).map(x => (util.Random.nextInt(size
/ repetitions),util.Random.nextDouble)).toDF("key", "value")
val res = data.toDF.groupBy("key").agg(sum("value")).count
```
Before:

After:

Tasks view:

cc @andrewor14 I appreciate if you can give feedback on this since I think
you introduced display of this metric.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/saurfang/spark stagepage
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/8726.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 #8726
----
commit 3adbc33fce5752c0d80581fc5981490a141d222c
Author: Forest Fang <[email protected]>
Date: 2015-09-10T21:49:38Z
use partial update value instead of cumulative value
----
---
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]