[ 
https://issues.apache.org/jira/browse/SPARK-25973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

William Montaz updated SPARK-25973:
-----------------------------------
    Summary: Spark History Main page performance improvement  (was: Spark 
History Main page performance improvment)

> Spark History Main page performance improvement
> -----------------------------------------------
>
>                 Key: SPARK-25973
>                 URL: https://issues.apache.org/jira/browse/SPARK-25973
>             Project: Spark
>          Issue Type: Improvement
>          Components: Web UI
>    Affects Versions: 2.3.2
>            Reporter: William Montaz
>            Priority: Major
>         Attachments: fix.patch
>
>
> HistoryPage.scala counts applications (with a predicate depending on if it is 
> displaying incomplete or complete applications) to check if it must display 
> the dataTable.
> Since it only checks if allAppsSize > 0, we could use exists method on the 
> iterator> This way we stop iterating at the first occurence found.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to