Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-25973

Spark History Main page performance improvement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.2
    • 3.0.0
    • Web UI
    • None

    Description

      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.

       

       

      Attachments

        1. fix.patch
          2 kB
          William Montaz

        Activity

          People

            willymontaz William Montaz
            willymontaz William Montaz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: