[
https://issues.apache.org/jira/browse/HUDI-7557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sagar Sumit updated HUDI-7557:
------------------------------
Summary: NoSuchElementException when commit corresponding to savepoint has
been removed or archived (was: NoSuchElementException when savepoint has been
removed or archived)
> NoSuchElementException when commit corresponding to savepoint has been
> removed or archived
> ------------------------------------------------------------------------------------------
>
> Key: HUDI-7557
> URL: https://issues.apache.org/jira/browse/HUDI-7557
> Project: Apache Hudi
> Issue Type: Bug
> Reporter: Sagar Sumit
> Priority: Major
> Fix For: 0.15.0
>
>
> This
> [block|https://github.com/apache/hudi/blob/26c00a3adefff9217187ca0ab9a5b2a7c9e42199/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/clean/CleanPlanner.java#L246-L249]
> of code is buggy when commit which was savepointed has been removed or
> archived.
>
> {code:java}
> if (!instantOption.isPresent()) {
> LOG.warn("Skipping to process a commit for which savepoint was
> removed as the instant moved to archived timeline already");
> }
> HoodieInstant instant = instantOption.get(); {code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)