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

Spark History Main page performance improvement

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 3.0.0
    • Component/s: Web UI
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: