Skip to content

Conversation

@ajbozarth
Copy link
Member

What changes were proposed in this pull request?

back port of #14835 addressing merge conflicts

With the new History Server the summary page loads the application list via the the REST API, this makes it very slow to impossible to load with large (10K+) application history. This pr fixes this by adding the spark.history.ui.maxApplications conf to limit the number of applications the History Server displays. This is accomplished using a new optional limit param for the applications api. (Note this only applies to what the summary page displays, all the Application UI's are still accessible if the user knows the App ID and goes to the Application UI directly.)

I've also added a new test for the limit param in HistoryServerSuite.scala

How was this patch tested?

Manual testing and dev/run-tests

…arge application history

With the new History Server the summary page loads the application list via the the REST API, this makes it very slow to impossible to load with large (10K+) application history. This pr fixes this by adding the `spark.history.ui.maxApplications` conf to limit the number of applications the History Server displays. This is accomplished using a new optional `limit` param for the `applications` api. (Note this only applies to what the summary page displays, all the Application UI's are still accessible if the user knows the App ID and goes to the Application UI directly.)

I've also added a new test for the `limit` param in `HistoryServerSuite.scala`

Manual testing and dev/run-tests

Author: Alex Bozarth <[email protected]>

Closes apache#14835 from ajbozarth/spark17243.
@ajbozarth
Copy link
Member Author

@tgravescs here's the 2.0.1 back port

@SparkQA
Copy link

SparkQA commented Aug 30, 2016

Test build #64675 has finished for PR 14886 at commit 22ddf01.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@ajbozarth
Copy link
Member Author

Jenkins, retest this please

@SparkQA
Copy link

SparkQA commented Aug 31, 2016

Test build #64678 has finished for PR 14886 at commit 22ddf01.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@tgravescs
Copy link
Contributor

+1

asfgit pushed a commit that referenced this pull request Aug 31, 2016
…arge application history

## What changes were proposed in this pull request?

back port of #14835 addressing merge conflicts

With the new History Server the summary page loads the application list via the the REST API, this makes it very slow to impossible to load with large (10K+) application history. This pr fixes this by adding the `spark.history.ui.maxApplications` conf to limit the number of applications the History Server displays. This is accomplished using a new optional `limit` param for the `applications` api. (Note this only applies to what the summary page displays, all the Application UI's are still accessible if the user knows the App ID and goes to the Application UI directly.)

I've also added a new test for the `limit` param in `HistoryServerSuite.scala`

## How was this patch tested?

Manual testing and dev/run-tests

Author: Alex Bozarth <[email protected]>

Closes #14886 from ajbozarth/spark17243-branch-2.0.
@ajbozarth ajbozarth closed this Aug 31, 2016
@ajbozarth ajbozarth deleted the spark17243-branch-2.0 branch April 27, 2017 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants