Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs525-sp18-g07
spark
Commits
a59c15a3
Commit
a59c15a3
authored
11 years ago
by
Patrick Wendell
Browse files
Options
Downloads
Patches
Plain Diff
Adding config option for retained stages
parent
27419366
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/src/main/scala/spark/ui/jobs/JobProgressUI.scala
+1
-1
1 addition, 1 deletion
core/src/main/scala/spark/ui/jobs/JobProgressUI.scala
docs/configuration.md
+9
-2
9 additions, 2 deletions
docs/configuration.md
with
10 additions
and
3 deletions
core/src/main/scala/spark/ui/jobs/JobProgressUI.scala
+
1
−
1
View file @
a59c15a3
...
...
@@ -42,7 +42,7 @@ private[spark] class JobProgressUI(val sc: SparkContext) {
private
[
spark
]
class
JobProgressListener
extends
SparkListener
{
// How many stages to remember
val
RETAINED_STAGES
=
1000
val
RETAINED_STAGES
=
System
.
getProperty
(
"spark.ui.retained_stages"
,
"1000"
).
toInt
val
activeStages
=
HashSet
[
Stage
]()
val
completedStages
=
ListBuffer
[
Stage
]()
...
...
This diff is collapsed.
Click to expand it.
docs/configuration.md
+
9
−
2
View file @
a59c15a3
...
...
@@ -135,9 +135,16 @@ Apart from these, the following properties are also available, and may be useful
</tr>
<tr>
<td>
spark.ui.port
</td>
<td>
(random)
</td>
<td>
33000
</td>
<td>
Port for your application's dashboard, which shows memory and workload data
</td>
</tr>
<tr>
<td>
spark.ui.retained_stages
</td>
<td>
1000
</td>
<td>
Port for your application's dashboard, which shows memory usage of each RDD
.
How many stages the Spark UI remembers before garbage collecting
.
</td>
</tr>
<tr>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment