GitHub user andrewor14 opened a pull request:

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

    [SPARK-5703] AllJobsPage throws empty.max exception

    If you have a `SparkListenerJobEnd` event without the corresponding 
`SparkListenerJobStart` event, then `JobProgressListener` will create an empty 
`JobUIData` with an empty `stageIds` list. However, later in `AllJobsPage` we 
call `stageIds.max`. If this is empty, it will throw an exception.
    
    This crashed my history server.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/andrewor14/spark jobs-page-max

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

    https://github.com/apache/spark/pull/4490.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 #4490
    
----
commit 21797d3f82526d8c74b81ec83a4675467f738648
Author: Andrew Or <[email protected]>
Date:   2015-02-10T01:28:35Z

    Check nonEmpty before calling max

----


---
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]

Reply via email to