apache/pinot

Support cleaning up segments when a batch build fails

Open

#8,864 创建于 2022年6月8日

在 GitHub 查看
 (8 评论) (0 反应) (1 负责人)Java (1,234 fork)batch import
good first issuehelp wanted

仓库指标

Star
 (4,937 star)
PR 合并指标
 (平均合并 6天 7小时) (30 天内合并 186 个 PR)

描述

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

贡献者指南