Is it possible to set state backend as RocksDB without asking it to checkpoint?
We are trying to do application level checkpointing (since it gives us better flexibility to upgrade our flink pipeline and also restore state in a application specific upgrade friendly way). So we don’t really need rocksDB to do any checkpointing. Moreover, we also observed that there is 20s stall every hour that seems to correlate with rocksDB wanting to checkpoint. Will the following work (effectively disable checkpointing)? Or is there a better way? -Abhishek-
|
Hi Abhishek, You can disable checkpointing by not commenting env.enableCheckpointing What do you mean by "We are trying to do application level checkpointing" Regards, Vinay Patil On Thu, Feb 16, 2017 at 12:42 AM, abhishekrs [via Apache Flink User Mailing List archive.] <[hidden email]> wrote: Is it possible to set state backend as RocksDB without asking it to checkpoint? |
Sorry, that was a red herring. Checkpointing was not getting triggered because we never enabled it. Our application is inherently restartable because we can use our own output to rebuild state. All that is working fine for us - including restart semantics - without having to worry about upgrading flink topology. Once we have something in production, will be happy to share more details in flink forums. We are very pleased with flink so far. Some paradigms are messy (scale of select for e.g), but we are very pleased overall !! On Wed, Feb 15, 2017 at 7:54 PM vinay patil <[hidden email]> wrote:
|
Good to hear that. On which machine you are running your Flink Job, also what are the configurations you have used for RocksDB I am currently running on C3.4xlarge with predefined option set to FLASH_SSD_OPTIMIZED Regards, Vinay Patil On Thu, Feb 16, 2017 at 10:31 AM, abhishekrs [via Apache Flink User Mailing List archive.] <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |