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

Allow users to avoid Hadoop output checks if desired

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.1, 1.1.0
    • Spark Core
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: