GitHub user jianjianjiao opened a pull request:
https://github.com/apache/spark/pull/22926
[SPARK-25917][Spark UI] memoryMetrics should be Json ignored when being none
## What changes were proposed in this pull request?
Spark UI's executors page loads forever when memoryMetrics in None. Fix is
to JSON ignore memorymetrics when it is None.
## How was this patch tested?
Before fix: (loads forever)

After fix:

That is because code in executorspage.js, Line 268
exec.memoryMetrics = exec.hasOwnProperty('memoryMetrics') ?
exec.memoryMetrics : memoryMetrics;
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jianjianjiao/spark
users/rotang/FixExecutorsPageLoadingForever
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22926.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 #22926
----
commit 5826424c931fbba81cc246c3b1afe3f64626e051
Author: Rong Tang <rotang@...>
Date: 2018-11-01T19:37:45Z
mmemoryMetrics should not json ignored when being none
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]