Github user pwendell commented on a diff in the pull request:
https://github.com/apache/spark/pull/947#discussion_r13319124
--- Diff: core/src/test/scala/org/apache/spark/FileSuite.scala ---
@@ -230,6 +230,16 @@ class FileSuite extends FunSuite with
LocalSparkContext {
}
}
+ test ("allow user to disable the output directory existence checking
(old Hadoop API") {
+ sc = new SparkContext("local", "test")
+ sc.conf.set("spark.hadoop.validateOutputSpecs", "false")
--- End diff --
The conf is imutable once the spark context is created. You need to create
a new conf first and then pass it to the SparkContext constructor.
---
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.
---