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

貢獻者指南