You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "BALAJI VARADARAJAN (Jira)" <ji...@apache.org> on 2019/09/14 04:57:00 UTC
[jira] [Updated] (HUDI-248) CLI doesn't allow rolling back a Delta
commit
[ https://issues.apache.org/jira/browse/HUDI-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
BALAJI VARADARAJAN updated HUDI-248:
------------------------------------
Fix Version/s: 0.6.0
> CLI doesn't allow rolling back a Delta commit
> ---------------------------------------------
>
> Key: HUDI-248
> URL: https://issues.apache.org/jira/browse/HUDI-248
> Project: Apache Hudi (incubating)
> Issue Type: Bug
> Components: CLI
> Reporter: Rahul Bhartia
> Priority: Minor
> Labels: aws-emr
> Fix For: 0.6.0
>
>
> [https://github.com/apache/incubator-hudi/blob/master/hudi-cli/src/main/java/org/apache/hudi/cli/commands/CommitsCommand.java#L128]
>
> When trying to find a match for passed in commit value, the "commit rollback" command is always default to using HoodieTimeline.COMMIT_ACTION - and hence doesn't allow rolling back delta commits.
> Note: Delta Commits can be rolled back using a HoodieWriteClient, so seems like it's a just a matter of having to match against both COMMIT_ACTION and DELTA_COMMIT_ACTION in the CLI.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)