[ 
https://issues.apache.org/jira/browse/SPARK-29302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16949229#comment-16949229
 ] 

feiwang edited comment on SPARK-29302 at 10/11/19 7:46 AM:
-----------------------------------------------------------

[~dangdangdang]

Hi, I have thought a simple solution.

We just need make the file name of a task be unique.
And the OutputCommitCoordinator would decide which task file can be committed.

But I don't have an appropriate unit test.


was (Author: hzfeiwang):
[~dangdangdang]

Hi, I have thought a simple solution.

We just need make the file name of a task be unique.
And the OutputCommitCoordinator would decide which task file can be committed.

But I don't have a appropriate unit test.

> dynamic partition overwrite with speculation enabled
> ----------------------------------------------------
>
>                 Key: SPARK-29302
>                 URL: https://issues.apache.org/jira/browse/SPARK-29302
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.4
>            Reporter: feiwang
>            Priority: Major
>         Attachments: screenshot-1.png, screenshot-2.png
>
>
> Now, for a dynamic partition overwrite operation,  the filename of a task 
> output is determinable.
> So, if speculation is enabled,  would a task conflict with  its relative 
> speculation task?
> Would the two tasks concurrent write a same file?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to