Github user aarondav commented on a diff in the pull request: https://github.com/apache/spark/pull/288#discussion_r11275005 --- Diff: docs/configuration.md --- @@ -586,6 +586,30 @@ Apart from these, the following properties are also available, and may be useful Number of cores to allocate for each task. </td> </tr> +<tr> + <td>spark.worker.cleanup.enabled</td> + <td>true</td> + <td> + Enable periodic cleanup of worker / application directories + </td> +</tr> +<tr> + <td>spark.worker.cleanup.interval</td> + <td>1800 (30 minutes)</td> + <td> + Controls the interval, in seconds, at which the worker cleans up old application work dirs --- End diff -- should mention in these docs that it is only for standalone mode, since this won't help YARN. Also perhaps move these properties up to spark.worker.timeout, which is the only other worker config in this list. (Really, we shouldn't have standalone-only config on this page, but there's no place right now for it in the spark-standalone page.)
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---