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-474731098
 
 
   Another approach would be leveraging metadata: after completing batch we can 
compare and delete output files which are not in metadata log. (Actually we can 
do both: check whether files in metadata log are deleted, and filter out 
deleted files from metadata log in compaction batch.)
   
   The downside of this approach is it might bring non-trivial overhead of 
listing output files in output directory.

----------------------------------------------------------------
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