AbhijeetSachdev1 opened a new issue, #8210:
URL: https://github.com/apache/hudi/issues/8210

   **_Tips before filing an issue_**
   
   - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)?
   
   - Join the mailing list to engage in conversations and get faster support at 
[email protected].
   
   - If you have triaged this as a bug, then file an 
[issue](https://issues.apache.org/jira/projects/HUDI/issues) directly.
   
   **Describe the problem you faced**
   
   A clear and concise description of the problem.
   
   **Expected behavior**
   
   While migrating from Hudi 0.8 to Hudi 0.12 we are seeing  the below 
exception:
   
   
   **Environment Description**
   
   * Hudi version : 0.12
   
   * Spark version : 3.3
   
   * Storage (HDFS/S3/GCS..) : S3
   
   * Running on Docker? (yes/no) : no
   
   **Additional context**
   
   Add any other context about the problem here.
   
   **Stacktrace**
   
   ```caused by: org.apache.hudi.exception.HoodieException: Got runtime 
exception when hive syncing promo_agg
        at 
org.apache.hudi.hive.HiveSyncTool.syncHoodieTable(HiveSyncTool.java:145)
        at 
org.apache.hudi.sync.common.util.SyncUtilHelpers.runHoodieMetaSync(SyncUtilHelpers.java:56)
        ... 60 more
   Caused by: org.apache.avro.AvroTypeException: Invalid default for field 
operationType: "" not a ["null",{"type":"string","avro.java.string":"String"}]
        at org.apache.avro.Schema.validateDefault(Schema.java:1581)
        at org.apache.avro.Schema.access$500(Schema.java:92)
        at org.apache.avro.Schema$Field.<init>(Schema.java:552)
        at org.apache.avro.Schema.parse(Schema.java:1688)
        at org.apache.avro.Schema.parse(Schema.java:1765)
        at org.apache.avro.Schema.parse(Schema.java:1678)
        at org.apache.avro.Schema$Parser.parse(Schema.java:1433)
        at org.apache.avro.Schema$Parser.parse(Schema.java:1421)
        at 
org.apache.hudi.common.table.log.block.HoodieAvroDataBlock$RecordIterator.getInstance(HoodieAvroDataBlock.java:180)
        at 
org.apache.hudi.common.table.log.block.HoodieAvroDataBlock.deserializeRecords(HoodieAvroDataBlock.java:141)
        at 
org.apache.hudi.common.table.log.block.HoodieDataBlock.readRecordsFromBlockPayload(HoodieDataBlock.java:189)
        at 
org.apache.hudi.common.table.log.block.HoodieDataBlock.getRecordIterator(HoodieDataBlock.java:147)
        at 
org.apache.hudi.common.table.timeline.HoodieArchivedTimeline.loadInstants(HoodieArchivedTimeline.java:260)
        at 
org.apache.hudi.common.table.timeline.HoodieArchivedTimeline.<init>(HoodieArchivedTimeline.java:109)
        at 
org.apache.hudi.common.table.HoodieTableMetaClient.getArchivedTimeline(HoodieTableMetaClient.java:392)
        at 
org.apache.hudi.sync.common.HoodieSyncClient.getWrittenPartitionsSince(HoodieSyncClient.java:120)
        at 
org.apache.hudi.hive.HiveSyncTool.syncHoodieTable(HiveSyncTool.java:226)
        at org.apache.hudi.hive.HiveSyncTool.doSync(HiveSyncTool.java:154)
        at 
org.apache.hudi.hive.HiveSyncTool.syncHoodieTable(HiveSyncTool.java:142)
        ... 61 more```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to