You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/02/05 22:06:00 UTC
[jira] [Updated] (HUDI-1589) Rollback metadata is not backwards
compatible
[ https://issues.apache.org/jira/browse/HUDI-1589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HUDI-1589:
---------------------------------
Labels: pull-request-available (was: )
> Rollback metadata is not backwards compatible
> ---------------------------------------------
>
> Key: HUDI-1589
> URL: https://issues.apache.org/jira/browse/HUDI-1589
> Project: Apache Hudi
> Issue Type: Bug
> Components: Writer Core
> Reporter: Nishith Agarwal
> Assignee: Nishith Agarwal
> Priority: Major
> Labels: pull-request-available
>
> When turning on archival for ROLLBACK files, we see the following exception
>
> {code:java}
> 21/02/05 18:53:39 ERROR table.HoodieTimelineArchiveLog: Failed to archive commits, .commit file: 20200225204435.rollback
> org.apache.avro.AvroTypeException: Found com.uber.hoodie.avro.model.HoodieRollbackPartitionMetadata, expecting org.apache.hudi.avro.model.HoodieRollbackPartitionMetadata, missing required field rollbackLogFiles
> at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:292)
> at org.apache.avro.io.parsing.Parser.advance(Parser.java:88)
> at org.apache.avro.io.ResolvingDecoder.readFieldOrder(ResolvingDecoder.java:130)
> at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:215)
> {code}
> The `rollbackLogFiles` should have a default value "null" to read and encode older rollback files.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)