Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-6849

Fix bootstrap procedure tests failure due to commit metadata parsing

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0-beta1
    • None
    • None

    Description

      After serializing all commit metadata to Avro, bootstrap procedure tests are failing due to

      Caused by: java.lang.NullPointerException: null of string of map of union of org.apache.hudi.avro.model.HoodieCommitMetadata
          at org.apache.avro.generic.GenericDatumWriter.npe(GenericDatumWriter.java:184)
          at org.apache.avro.generic.GenericDatumWriter.writeWithoutConversion(GenericDatumWriter.java:178)
          at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:83)
          at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:73)
          at org.apache.avro.file.DataFileWriter.append(DataFileWriter.java:314)
          ... 101 more 

      `HoodieCommitMetadata` map fields allow nullable. Need to investigate why serialization fails.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            codope Sagar Sumit
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment