[
https://issues.apache.org/jira/browse/SPARK-30320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068005#comment-17068005
]
koert kuipers edited comment on SPARK-30320 at 3/26/20, 8:11 PM:
-----------------------------------------------------------------
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.
see also SPARK-29302 which is same issue i believe.
was (Author: koert):
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: [email protected]
For additional commands, e-mail: [email protected]