[ 
https://issues.apache.org/jira/browse/HUDI-4177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545169#comment-17545169
 ] 

Shawn Chang commented on HUDI-4177:
-----------------------------------

Posted a [PR|https://github.com/apache/hudi/pull/5734] to fix this

> Can't rollback using Hudi CLI with rollbackUsingMarkers=false
> -------------------------------------------------------------
>
>                 Key: HUDI-4177
>                 URL: https://issues.apache.org/jira/browse/HUDI-4177
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: Shawn Chang
>            Priority: Major
>              Labels: pull-request-available
>
> Can't rollback when setting rollbackUsingMarkers to false 
> e.g. 
> {code:java}
> hudi-cli commit rollback --commit $latest_commit --rollbackUsingMarkers false 
> {code}
> It's because this LOC: 
> [https://github.com/apache/hudi/blob/7276d0eaa662298b64a6aca7e7180556f03603b1/hudi-cli/src/main/java/org/apache/hudi/cli/commands/SparkMain.java#L454]
> A new option and a method with lazyCleanPolicy was added and directed the 
> call above to the wrong method.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to