Support cleaning up segments when a batch build fails
Open
good first issue
help wanted
- Dominant language
- Java
- Stars
- 6.1k
- Forks
- 1.5k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 189
Description
Currently if segment generation fails for one of the input files, segments created from previous input files will be left in the output directory. A new `cleanupOnFailure` flag (default is false) would trigger the deletion of these segments. Note that clearing the output directory isn't acceptable, as there might be existing files.
This change would have to be applied to all batch segment generation plugins (stand-alone, Hadoop, Spark).
Contributor guide
Assessment
This issue has not been assessed yet.