wombatu-kun commented on PR #19202:
URL: https://github.com/apache/hudi/pull/19202#issuecomment-4954653620

   Second independent sighting, on the CI of an unrelated PR that only touches 
`scripts/release/validate_source_binary_files.sh` and the `validate-source` job 
in `bot.yml`: apache/hudi#19267, run 
https://github.com/apache/hudi/actions/runs/29221170781/job/86726429253 (shard 
`test-flink-1 (flink2.1)`; all other Flink shards green). Same test, same 
frames:
   
   ```
   java.lang.NullPointerException
        at 
org.apache.hudi.table.format.cdc.CdcIterators$BaseImageIterator.hasNext(CdcIterators.java:543)
        at 
org.apache.hudi.table.format.cdc.CdcIterators$CdcFileSplitsIterator.hasNext(CdcIterators.java:132)
        at 
org.apache.hudi.source.reader.BatchRecords.nextRecordFromSplit(BatchRecords.java:83)
   ```
   
   Line 543 is `cdcRecord = cdcItr.next()` immediately after `cdcItr.hasNext()` 
returned true on 542, so the teardown `close()` nulled `cdcItr` between the two 
statements, which is the race this PR closes. The branch is green and 
mergeable; a review would stop this from landing on other contributors' PRs.
   


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