GitHub user cenyuhai opened a pull request:

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

    [SPARK-17406][WEB-UI] limit timeline executor events

    ## What changes were proposed in this pull request?
    The job page will be too slow to open when there are thousands of executor 
events(added or removed). I found that in ExecutorsTab file, executorIdToData 
will not remove elements, it will increase all the time.Before this pr, it 
looks like 
[timeline1.png](https://issues.apache.org/jira/secure/attachment/12827112/timeline1.png).
 After this pr, it looks like 
[timeline2.png](https://issues.apache.org/jira/secure/attachment/12827113/timeline2.png)(we
 can set how many events will be displayed)
    


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

    $ git pull https://github.com/cenyuhai/spark SPARK-17406

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

    https://github.com/apache/spark/pull/14969.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 #14969
    
----
commit c368f885aa539da622f95093c51205af11c9d7a1
Author: cenyuhai <[email protected]>
Date:   2016-09-06T05:25:53Z

    limit timeline executor events

----


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