Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
Hudi Streamer with row writer enabled hits NPE with empty batch (the checkpoint has advanced)
java.lang.NullPointerException at org.apache.hudi.HoodieSparkSqlWriter$.getBulkInsertRowConfig(HoodieSparkSqlWriter.scala:1190) at org.apache.hudi.HoodieSparkSqlWriter.getBulkInsertRowConfig(HoodieSparkSqlWriter.scala) at org.apache.hudi.utilities.streamer.StreamSync.prepareHoodieConfigForRowWriter(StreamSync.java:801) at org.apache.hudi.utilities.streamer.StreamSync.writeToSink(StreamSync.java:939) at org.apache.hudi.utilities.streamer.StreamSync.writeToSinkAndDoMetaSync(StreamSync.java:819) at org.apache.hudi.utilities.streamer.StreamSync.syncOnce(StreamSync.java:458) at org.apache.hudi.utilities.streamer.HoodieStreamer$StreamSyncService.ingestOnce(HoodieStreamer.java:850) at org.apache.hudi.common.util.Option.ifPresent(Option.java:97)
Attachments
Issue Links
- links to