Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/3832#discussion_r22368527
--- Diff: docs/configuration.md ---
@@ -709,7 +709,10 @@ Apart from these, the following properties are also
available, and may be useful
<td>If set to true, validates the output specification (e.g. checking
if the output directory already exists)
used in saveAsHadoopFile and other variants. This can be disabled to
silence exceptions due to pre-existing
output directories. We recommend that users do not disable this except
if trying to achieve compatibility with
- previous versions of Spark. Simply use Hadoop's FileSystem API to
delete output directories by hand.</td>
+ previous versions of Spark. Simply use Hadoop's FileSystem API to
delete output directories by hand.
+ This setting is ignored for jobs launched by the Spark Streaming
scheduler, since data may need to be rewritten to
+ pre-existing output directories during checkpoint recovery; to enable
these checks in streaming, use the
+ <code>spark.streaming.hadoop.validateOutputSpecs</code> setting
instead.</td>
--- End diff --
Please add this configuration, in the streaming section as well of this
page as well.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]