HeartSaVioR edited a comment on issue #24154: [SPARK-27210][SS] Cleanup 
incomplete output files in ManifestFileCommitProtocol if task is aborted
URL: https://github.com/apache/spark/pull/24154#issuecomment-474729281
 
 
   We might also try out cleaning up for complete tasks as well, via letting 
ManifestFileCommitProtocol records output files for committed tasks (via 
`onTaskCommit`), and try to delete these files when `abortJob` is called. This 
approach has clear requirement: the filesystem for output directory must be 
same across driver and tasks. Not sure there's no case which breaks this - 
local FS output directory with distributed executors might break this, though 
honestly it doesn't make sense for actual case.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to