You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "qianzhen0 (via GitHub)" <gi...@apache.org> on 2023/11/29 02:45:31 UTC
[I] Does iceberg flink read support recover from last ckp? [iceberg]
qianzhen0 opened a new issue, #9175:
URL: https://github.com/apache/iceberg/issues/9175
### Query engine
Flink
### Question
I am reading from iceberg and write to a sink using flink. The sink supports exactly once semantic based on flink ckp. So i am wondering if iceberg will recover from last ckp if job fails because of some unstable issues, e.g., network or machine error.
I checked the iceberg flink doc, https://iceberg.apache.org/docs/latest/flink-configuration/
The streaming mode supports `connector.iceberg.starting-strategy`. But i guess it is a option for starting instead of in recover?
Thanks!
--
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: issues-unsubscribe@iceberg.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Does iceberg flink streaming read support recover from last ckp? [iceberg]
Posted by "qianzhen0 (via GitHub)" <gi...@apache.org>.
qianzhen0 commented on issue #9175:
URL: https://github.com/apache/iceberg/issues/9175#issuecomment-1831141581
I found code `StreamingMonitorFunction`. So with `startSnapshotId` specified, it should support EOS, right?
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Does iceberg flink streaming read support recover from last ckp? [iceberg]
Posted by "pvary (via GitHub)" <gi...@apache.org>.
pvary commented on issue #9175:
URL: https://github.com/apache/iceberg/issues/9175#issuecomment-1831363908
I am not sure about the FlinkSource, but IcebergSource stores the state, an it should be abe to recover from that when restarted.
The configuration possibilities you have mentioned are independent of that. They configure, how the source starts when the job is started the first time (without state)
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Does iceberg flink streaming read support recover from last ckp? [iceberg]
Posted by "qianzhen0 (via GitHub)" <gi...@apache.org>.
qianzhen0 closed issue #9175: Does iceberg flink streaming read support recover from last ckp?
URL: https://github.com/apache/iceberg/issues/9175
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Does iceberg flink streaming read support recover from last ckp? [iceberg]
Posted by "qianzhen0 (via GitHub)" <gi...@apache.org>.
qianzhen0 commented on issue #9175:
URL: https://github.com/apache/iceberg/issues/9175#issuecomment-1831508633
@pvary thanks for the input!
by saying `IcebergSource`, do you mean iceberg flink connector? or spark engine?
So, if i run `insert into sink select * from iceberg_table` in streaming mode (with ckp interval configured), it should recover reading from last ckp.
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Does iceberg flink streaming read support recover from last ckp? [iceberg]
Posted by "pvary (via GitHub)" <gi...@apache.org>.
pvary commented on issue #9175:
URL: https://github.com/apache/iceberg/issues/9175#issuecomment-1831887127
`IcebergSource` is using the new Flink Source API - this is the newer one
`FlinkSource` is using the old Flink SourceFunction API - this will be removed (I plan to deprecate it in the new Iceberg release)
When using the table API the `table.exec.iceberg.use-flip27-source` config option could be used to chose between the 2 versions. See: https://iceberg.apache.org/docs/1.3.1/flink-queries/#flip-27-source-for-sql
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org