hudi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "leesf (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HUDI-248) CLI doesn't allow rolling back a Delta commit
Date Fri, 10 Jan 2020 02:06:00 GMT

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

leesf commented on HUDI-248:
----------------------------

[~rbhartia] No worries, thanks for your report and you would still pick up some other issues
here if interest. https://issues.apache.org/jira/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+%3D+HUDI+AND+fixVersion+%3D+0.5.1+AND+status+%21%3D+Fixed++AND+status+%21%3D+Resolved+AND+status+%21%3D+Closed+&tempMax=1000

> 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, Usability
>            Reporter: Rahul Bhartia
>            Assignee: leesf
>            Priority: Minor
>              Labels: aws-emr, pull-request-available
>             Fix For: 0.5.1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [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.4#803005)

Mime
View raw message