state.checkpoints.dir

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

state.checkpoints.dir

bdas77
Hello ,

 Is there any hack to supply state.checkpoints.dir as argument or JVM parameter when running locally .  I can change the source CheckpointCoordinator and make it work , trying to find if there is any shortcuts ??

Thank you
~ Biswajit

Thank you
~/Das
Reply | Threaded
Open this post in threaded view
|

Re: state.checkpoints.dir

Hao Sun
We generate flink.conf on the fly, so we can use different values based on environment.

On Mon, Jan 22, 2018 at 12:53 PM Biswajit Das <[hidden email]> wrote:
Hello ,

 Is there any hack to supply state.checkpoints.dir as argument or JVM parameter when running locally .  I can change the source CheckpointCoordinator and make it work , trying to find if there is any shortcuts ??

Thank you
~ Biswajit
Reply | Threaded
Open this post in threaded view
|

Re: state.checkpoints.dir

bdas77
Hi Hao ,

Thank you for reply . I was more of trying to find how do I manipulate when I run locally from IDE .

~ Biswajit

On Mon, Jan 22, 2018 at 12:56 PM, Hao Sun <[hidden email]> wrote:
We generate flink.conf on the fly, so we can use different values based on environment.

On Mon, Jan 22, 2018 at 12:53 PM Biswajit Das <[hidden email]> wrote:
Hello ,

 Is there any hack to supply state.checkpoints.dir as argument or JVM parameter when running locally .  I can change the source CheckpointCoordinator and make it work , trying to find if there is any shortcuts ??

Thank you
~ Biswajit


Thank you
~/Das
Reply | Threaded
Open this post in threaded view
|

Re: state.checkpoints.dir

Chesnay Schepler
Something you could try is loading the GlobalConfiguration singleton before executing the job and setting
the parameter there.

On 23.01.2018 19:28, Biswajit Das wrote:
Hi Hao ,

Thank you for reply . I was more of trying to find how do I manipulate when I run locally from IDE .

~ Biswajit

On Mon, Jan 22, 2018 at 12:56 PM, Hao Sun <[hidden email]> wrote:
We generate flink.conf on the fly, so we can use different values based on environment.

On Mon, Jan 22, 2018 at 12:53 PM Biswajit Das <[hidden email]> wrote:
Hello ,

 Is there any hack to supply state.checkpoints.dir as argument or JVM parameter when running locally .  I can change the source CheckpointCoordinator and make it work , trying to find if there is any shortcuts ??

Thank you
~ Biswajit