Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-1677

Allow users to avoid Hadoop output checks if desired

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.1, 1.1.0
    • Component/s: Spark Core
    • Labels:
      None

      Description

      For compatibility with older versions of Spark it would be nice to have an option `spark.hadoop.validateOutputSpecs` (default true) and a description "If set to true, validates the output specification used in saveAsHadoopFile and other variants. This can be disabled to silence exceptions due to pre-existing output directories."

      This would just wrap the checking done in this PR:
      https://issues.apache.org/jira/browse/SPARK-1100
      https://github.com/apache/spark/pull/11

      By first checking the spark conf.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                codingcat Nan Zhu
                Reporter:
                pwendell Patrick Wendell
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: