viirya commented on PR #46560:
URL: https://github.com/apache/spark/pull/46560#issuecomment-2107939618

   > In this pr, we do below since:
   > When commit task success, executor send an CommitOutputSuccess message to 
outputCommitCoordinator.
   > When outputCommitCoordinator handle taskComplete, if task failed but 
commit success, means data duplicate will happen, we should failed to job.
   
   @cloud-fan Thanks for explaining it. It sounds reasonable. Although from 
what I read from the above description in 
https://github.com/apache/spark/pull/36564, it seems when 
outputCommitCoordinator handles taskComplete, it will check if the task is 
failed but the commit is successful, then decide if data duplication is 
happened or not.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to