-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-17243] [Web UI] Spark 2.0 History Server won't load with very large application history #14835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-17243] [Web UI] Spark 2.0 History Server won't load with very large application history #14835
Changes from 3 commits
9bcb02d
fab32f9
6163f13
172dc56
bbb9718
aa1c6f9
8da22e3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| [ { | ||
| "id" : "local-1430917381534", | ||
| "name" : "Spark shell", | ||
| "attempts" : [ { | ||
| "startTime" : "2015-05-06T13:03:00.893GMT", | ||
| "endTime" : "2015-05-06T13:03:11.398GMT", | ||
| "lastUpdated" : "", | ||
| "duration" : 10505, | ||
| "sparkUser" : "irashid", | ||
| "completed" : true, | ||
| "startTimeEpoch" : 1430917380893, | ||
| "endTimeEpoch" : 1430917391398, | ||
| "lastUpdatedEpoch" : 0 | ||
| } ] | ||
| }, { | ||
| "id" : "local-1430917381535", | ||
| "name" : "Spark shell", | ||
| "attempts" : [ { | ||
| "attemptId" : "2", | ||
| "startTime" : "2015-05-06T13:03:00.893GMT", | ||
| "endTime" : "2015-05-06T13:03:00.950GMT", | ||
| "lastUpdated" : "", | ||
| "duration" : 57, | ||
| "sparkUser" : "irashid", | ||
| "completed" : true, | ||
| "startTimeEpoch" : 1430917380893, | ||
| "endTimeEpoch" : 1430917380950, | ||
| "lastUpdatedEpoch" : 0 | ||
| }, { | ||
| "attemptId" : "1", | ||
| "startTime" : "2015-05-06T13:03:00.880GMT", | ||
| "endTime" : "2015-05-06T13:03:00.890GMT", | ||
| "lastUpdated" : "", | ||
| "duration" : 10, | ||
| "sparkUser" : "irashid", | ||
| "completed" : true, | ||
| "startTimeEpoch" : 1430917380880, | ||
| "endTimeEpoch" : 1430917380890, | ||
| "lastUpdatedEpoch" : 0 | ||
| } ] | ||
| }, { | ||
| "id" : "local-1426533911241", | ||
| "name" : "Spark shell", | ||
| "attempts" : [ { | ||
| "attemptId" : "2", | ||
| "startTime" : "2015-03-17T23:11:50.242GMT", | ||
| "endTime" : "2015-03-17T23:12:25.177GMT", | ||
| "lastUpdated" : "", | ||
| "duration" : 34935, | ||
| "sparkUser" : "irashid", | ||
| "completed" : true, | ||
| "startTimeEpoch" : 1426633910242, | ||
| "endTimeEpoch" : 1426633945177, | ||
| "lastUpdatedEpoch" : 0 | ||
| }, { | ||
| "attemptId" : "1", | ||
| "startTime" : "2015-03-16T19:25:10.242GMT", | ||
| "endTime" : "2015-03-16T19:25:45.177GMT", | ||
| "lastUpdated" : "", | ||
| "duration" : 34935, | ||
| "sparkUser" : "irashid", | ||
| "completed" : true, | ||
| "startTimeEpoch" : 1426533910242, | ||
| "endTimeEpoch" : 1426533945177, | ||
| "lastUpdatedEpoch" : 0 | ||
| } ] | ||
| } ] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -101,3 +101,4 @@ org.apache.spark.scheduler.ExternalClusterManager | |
| .*\.sql | ||
| .Rbuildignore | ||
| org.apache.spark.deploy.yarn.security.ServiceCredentialProvider | ||
| spark-warehouse | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure about this change
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh whoops, I must of committed that by accident, dev/run-tests won't pass without it so I've been adding/removing it every time |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happens with limit=-1? I assume the take will just return empty map but good to try it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
limit=-1 will actually return the whole list, I just pass the int to
takeand that's how that function works, I though this was a good default value (which is why it's the default value in the js file)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, sounds fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was worried about what would happen if limit was unset —but the existing tests (lines 180-182) all test that