spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <>
Subject [jira] [Closed] (SPARK-7689) Deprecate spark.cleaner.ttl
Date Wed, 19 Aug 2015 05:25:45 GMT


Reynold Xin closed SPARK-7689.
    Resolution: Later

> Deprecate spark.cleaner.ttl
> ---------------------------
>                 Key: SPARK-7689
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Josh Rosen
> With the introduction of ContextCleaner, I think there's no longer any reason for most
users to enable the MetadataCleaner / {{spark.cleaner.ttl}} (except perhaps for super-long-lived
Spark REPLs where you're worried about orphaning RDDs or broadcast variables in your REPL
history and having them never get cleaned up, although I think this is an uncommon use-case).
 I think that this property used to be relevant for Spark Streaming jobs, but I think that's
no longer the case since the latest Streaming docs have removed all mentions of {{spark.cleaner.ttl}}
for example).
> See
for an old, related discussion.  Also, see, the PR
that introduced the new ContextCleaner mechanism.
> We should probably add a deprecation warning to {{spark.cleaner.ttl}} that advises users
against using it, since it's an unsafe configuration option that can lead to confusing behavior
if it's misused.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message