Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2015 Spark UI issues at scale
  3. SPARK-8694

Defer executing drawTaskAssignmentTimeline until page loaded to avoid to freeze the page

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.4.0, 1.5.0
    • None
    • Web UI
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sarutak Kousuke Saruta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: