apache/pinot

Support cleaning up segments when a batch build fails

Open

#8 864 ouverte le 8 juin 2022

Voir sur GitHub
 (8 commentaires) (0 réactions) (1 assigné)Java (1 234 forks)batch import
good first issuehelp wanted

Métriques du dépôt

Stars
 (4 937 stars)
Métriques de merge PR
 (Merge moyen 6j 7h) (186 PRs mergées en 30 j)

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

Guide contributeur