Spark Exception : Task failed while writing rows

前端 未结 5 1456
南旧
南旧 2021-01-02 17:13

I am reading text files and converting them to parquet files. I am doing it using spark code. But when i try to run the code I get following exception

org.ap         


        
5条回答
  •  北海茫月
    2021-01-02 17:56

    I found that disabling speculation prevents this error from happening. I'm not very sure why. It seems that speculative and non-speculative tasks are conflicting when writing parquet rows.

    sparkConf.set("spark.speculation","false")
    

提交回复
热议问题