apache/pinot

Support cleaning up segments when a batch build fails

Open

#8.864 aberto em 8 de jun. de 2022

Ver no GitHub
 (8 comments) (0 reactions) (1 assignee)Java (1.234 forks)batch import
good first issuehelp wanted

Métricas do repositório

Stars
 (4.937 stars)
Métricas de merge de PR
 (Mesclagem média 6d 7h) (186 fundiu PRs em 30d)

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

Guia do colaborador