apache/pinot

Support cleaning up segments when a batch build fails

Open

#8864 aperta il 8 giu 2022

Vedi su GitHub
 (8 commenti) (0 reazioni) (1 assegnatario)Java (1234 fork)batch import
good first issuehelp wanted

Metriche repository

Star
 (4937 star)
Metriche merge PR
 (Merge medio 6g 7h) (186 PR mergiate in 30 g)

Descrizione

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

Guida contributor