openinx commented on issue #2693:
URL: https://github.com/apache/iceberg/issues/2693#issuecomment-869658838


   > Have you turned on the checkpoint?
   
   Yeah, I think you need to enable the flink checkpoint. if you are submitting 
the flink by datastream job, then you will need to follow this 
[document](https://ci.apache.org/projects/flink/flink-docs-master/docs/dev/datastream/fault-tolerance/checkpointing/)
 to enable your checkpoint.   If you want to use flink sql to write data to 
iceberg, then you will need to add the following configurations in your 
`flink-conf.yaml`: 
   
   ```yaml
   # milliseconds.
   execution.checkpointing.interval: 120000                                     
     
   state.backend: filesystem                                                    
     
   state.checkpoints.dir: file:///path/to/your/checkpoints                     
   state.savepoints.dir: file:///path/to/your/savepoints
   ```


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to