You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "koert kuipers (Jira)" <ji...@apache.org> on 2020/03/26 20:12:00 UTC
[jira] [Commented] (SPARK-30320) Insert overwrite to DataSource
table with dynamic partition error when running multiple task attempts
[ https://issues.apache.org/jira/browse/SPARK-30320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068005#comment-17068005 ]
koert kuipers commented on SPARK-30320:
---------------------------------------
i believe we are seeing this issue. it shows up in particular when pre-emption is turned on and we are using dynamic partition overwrite. pre-emption kills tasks, they get restarted, and then they fail again because the output directory already exists (so task throws FileAlreadyExistsException). as a result entire job fails.
so i dont think this is just a speculative execution issue. this is a general issue with dynamic partition overwrite not being able to recover from task failure.
> Insert overwrite to DataSource table with dynamic partition error when running multiple task attempts
> -----------------------------------------------------------------------------------------------------
>
> Key: SPARK-30320
> URL: https://issues.apache.org/jira/browse/SPARK-30320
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.4.4, 3.0.0
> Reporter: Du Ripeng
> Priority: Major
>
> Inserting overwrite to a DataSource table with dynamic partition might fail when running multiple task attempts. Suppose there are a task attempt and a speculative task attempt, the speculative attempt would raise FileAlreadyExistException
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org