GitHub user srowen opened a pull request:
https://github.com/apache/spark/pull/14105
[SPARK-16376] [WEBUI] [Spark web UI]:HTTP ERROR 500 when using rest api
"/applications/[app-id]/jobs" if array "stageIds" is empty
## What changes were proposed in this pull request?
Avoid error finding max of empty Seq when stageIds is empty. It does fix
the immediate problem; I don't know if it results in meaningful output, but not
an error at least.
## How was this patch tested?
Jenkins tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/srowen/spark SPARK-16376
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14105.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 #14105
----
commit da6feeaa790b6872c44efd26d30aacef822fc361
Author: Sean Owen <[email protected]>
Date: 2016-07-08T13:31:33Z
Avoid error finding max of empty Seq when stageIds is empty
----
---
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]