hemanth-gowda-12 commented on issue #7654:
URL: https://github.com/apache/hudi/issues/7654#issuecomment-1397757982

   @fengjian428 , I see the same issue adding the above line. Will we need to 
create a Jira for the above? Again, thanks a lot for the effort.
   
   ```
   org.apache.hudi.exception.HoodieUpsertException: Failed upsert schema 
compatibility check
   
        at 
org.apache.hudi.table.HoodieTable.validateUpsertSchema(HoodieTable.java:820)
        at 
org.apache.hudi.client.HoodieJavaWriteClient.upsert(HoodieJavaWriteClient.java:109)
        at org.example.HudiOccTest.lambda$HudiTest$2(HudiOccTest.java:220)
        at 
java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
        at 
java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
        at 
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
        at 
java.base/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290)
        at 
java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746)
        at 
java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
        at 
java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
        at 
java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
        at 
java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
        at 
java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
   Caused by: org.apache.hudi.exception.HoodieException: Failed to read 
schema/check compatibility for base path 
/Users/xxxx/IdeaProjects/ApacheHudiOccTest/occ/tmp/hudiTest
        at 
org.apache.hudi.table.HoodieTable.validateSchema(HoodieTable.java:807)
        at 
org.apache.hudi.table.HoodieTable.validateUpsertSchema(HoodieTable.java:818)
        ... 12 more
   Caused by: org.apache.hudi.exception.HoodieIOException: Could not read 
commit details from 
/Users/xxxx/IdeaProjects/ApacheHudiOccTest/occ/tmp/hudiTest/.hoodie/20230119154516823.commit
        at 
org.apache.hudi.common.table.timeline.HoodieActiveTimeline.readDataFromPath(HoodieActiveTimeline.java:824)
   ```


-- 
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