You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Shawn Chang (Jira)" <ji...@apache.org> on 2022/06/01 21:36:00 UTC

[jira] [Created] (HUDI-4177) Can't rollback using Hudi CLI with rollbackUsingMarkers=false

Shawn Chang created HUDI-4177:
---------------------------------

             Summary: 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


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)