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

[jira] [Closed] (HUDI-3395) Allow pass rollbackUsingMarkers to Hudi CLI rollback command

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

sivabalan narayanan closed HUDI-3395.
-------------------------------------
    Fix Version/s: 0.11.0
       Resolution: Fixed

> Allow pass rollbackUsingMarkers to Hudi CLI rollback command
> ------------------------------------------------------------
>
>                 Key: HUDI-3395
>                 URL: https://issues.apache.org/jira/browse/HUDI-3395
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: Wenning Ding
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.11.0
>
>
> In a recent OSS [change|https://github.com/apache/hudi/commit/ce7d2333078e4e1f16de1bce6d448c5eef1e4111], {{hoodie.rollback.using.markers}} is enabled by default. However, if you are trying rolling back a completed instance, Hudi would throw this exception:
>  
> {{Caused by: java.lang.IllegalArgumentException: Cannot use marker based rollback strategy on completed instant:[20211228041514616__commit__COMPLETED]at org.apache.hudi.common.util.ValidationUtils.checkArgument(ValidationUtils.java:40)}}
> The problem in our integration test {{{}testHudiCliRollback{}}}, it tries rolling back a complete instance. But right now, through Hudi CLI, the {{commit rollback}} command does not provide customers anyway to disable {{hoodie.rollback.using.markers}} which means customers can never use {{commit rollback}} command to rollback a completed commit.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)