You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "youngxinler (Jira)" <ji...@apache.org> on 2022/07/04 08:05:00 UTC

[jira] [Created] (SPARK-39670) pyspark set "spark.hadoop.validateOutputSpecs" to false can't take effect

youngxinler created SPARK-39670:
-----------------------------------

             Summary: pyspark set "spark.hadoop.validateOutputSpecs" to false can't take effect
                 Key: SPARK-39670
                 URL: https://issues.apache.org/jira/browse/SPARK-39670
             Project: Spark
          Issue Type: Bug
          Components: PySpark
    Affects Versions: 3.1.2
            Reporter: youngxinler


in pyspark,  set "spark.hadoop.validateOutputSpecs" to false can't take effect

example: 

spark = SparkSession.builder.config("spark.hadoop.validateOutputSpecs", "false").appName("PythonPi").getOrCreate()

rdd.saveAsTextFile(file_exist_path)

 

pyspark run  will report error:
|pyspark.sql.utils.AnalysisException: path hdfs://zjyprc-hadoop/user/s_ai_service/xxx already exists.|



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org