You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "kazdy (via GitHub)" <gi...@apache.org> on 2023/02/01 14:22:36 UTC
[GitHub] [hudi] kazdy commented on issue #7778: [SUPPORT] NPE in spark structured streaming reading hudi table from checkpoint that no longer exists
kazdy commented on issue #7778:
URL: https://github.com/apache/hudi/issues/7778#issuecomment-1412143207
@codope I think this PR addresses a different issue. I reset the identifier manually anyways before running into this issue.
Here the issue is that start offset provided from spark checkpoint no longer exists in hudi table/timeline and incremental query can not read from that instant (?), regardless of these identifiers. This is the streaming source side, and the PR only touches the streaming sink.
The scenario is
one streaming job consumes data from kafka and saves to hudi table raw
second streaming job consumes hudi table raw and writes to hudi table processed
first job is running for a while and second is stopped, so commits are cleaned from table raw
after a while I start second job and it fails with NPE
if I remove spark checkpoint and reset batchId in hudi commit file, then it starts consuming table from earliest available instant
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org