[ 
https://issues.apache.org/jira/browse/HUDI-7557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ethan Guo updated HUDI-7557:
----------------------------
    Fix Version/s: 1.0.0

> 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
>              Labels: pull-request-available
>             Fix For: 0.15.0, 1.0.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)

Reply via email to