Kousuke Saruta created SPARK-8694:
-------------------------------------

             Summary: Defer executing drawTaskAssignmentTimeline until page 
loaded to avoid to freeze the page
                 Key: SPARK-8694
                 URL: https://issues.apache.org/jira/browse/SPARK-8694
             Project: Spark
          Issue Type: Sub-task
          Components: Web UI
    Affects Versions: 1.4.0, 1.5.0
            Reporter: Kousuke Saruta


When there are massive tasks in the stage page (such as, running 
sc.parallelize(1 to 100000, 10000).count()), Event Timeline needs 15+ seconds 
to render the graph (drawTaskAssignmentTimeline) in my environment. The page is 
unresponsive until the graph is ready.

However, since Event Timeline is hidden by default, we can defer 
drawTaskAssignmentTimeline until page loaded to avoid freezing the page. So 
that the user can view the page while rendering Event Timeline in the 
background.

This PR puts drawTaskAssignmentTimeline into $(function(){}) to avoid blocking 
loading page.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to