-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-22428][DOC] Add spark application garbage collector configurat… #19826
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
Changes from 1 commit
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 |
|---|---|---|
|
|
@@ -2306,6 +2306,50 @@ showDF(properties, numRows = 200, truncate = FALSE) | |
| </tr> | ||
| </table> | ||
|
|
||
| ### Spark Application Garbage Collector | ||
|
|
||
| <table class="table"> | ||
| <tr><th>Property Name</th><th>Default</th><th>Meaning</th></tr> | ||
| <tr> | ||
| <td><code>spark.cleaner.periodicGC.interval</code></td> | ||
| <td>30min</td> | ||
| <td> | ||
| Controls how often to trigger a garbage collection. | ||
|
||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td><code>spark.cleaner.referenceTracking</code></td> | ||
| <td>true</td> | ||
| <td> | ||
| Controls whether a ContextCleaner should be created when a SparkContext initializes. | ||
|
||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td><code>spark.cleaner.referenceTracking.blocking</code></td> | ||
| <td>true</td> | ||
| <td> | ||
| Controls whether the cleaning thread should block on cleanup tasks (other than shuffle, which is controlled by | ||
| spark.cleaner.referenceTracking.blocking.shuffle Spark property).<br><br> | ||
|
||
| It is true as a workaround to <a href="https://issues.apache.org/jira/browse/SPARK-3015"> | ||
|
||
| SPARK-3015 Removing broadcast in quick successions causes Akka timeout</a>. | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td><code>spark.cleaner.referenceTracking.blocking.shuffle</code></td> | ||
| <td>false</td> | ||
| <td> | ||
| Controls whether the cleaning thread should block on shuffle cleanup tasks.<br><br> | ||
| It is false as a workaround to SPARK-3139 Akka timeouts from ContextCleaner when cleaning shuffles. | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td><code>spark.cleaner.referenceTracking.cleanCheckpoints</code></td> | ||
| <td>false</td> | ||
| <td> | ||
| Controls whether to clean checkpoint files if the reference is out of scope. | ||
| </td> | ||
| </tr> | ||
| </table> | ||
|
|
||
|
Member
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. Maybe I am insane but let's revert unneeded change
Contributor
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. Reverted. |
||
| ### Cluster Managers | ||
|
|
||
|
|
||
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.
Pardon, I just noticed one more thing. This is really about the Context Cleaner, right? not garbage collection per se. I'd probably put these properties under Memory Management instead of a new section.
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.
Moved as asked.