Flink override config params (Docker)

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

Flink override config params (Docker)

Pavel Ciorba
Hi everyone

Is there a way to override the conf/flink-conf.yaml of the Flink Docker container?

I need to specify some params such as:
state.backend
state.backend.fs.checkpointdir
state.checkpoints.dir
etc.

Thanks

Reply | Threaded
Open this post in threaded view
|

Re: Flink override config params (Docker)

miki haiat
You can mount the conf folder and ovride the conf file.

On Mon, 9 Apr 2018, 14:04 Pavel Ciorba, <[hidden email]> wrote:
Hi everyone

Is there a way to override the conf/flink-conf.yaml of the Flink Docker container?

I need to specify some params such as:
state.backend
state.backend.fs.checkpointdir
state.checkpoints.dir
etc.

Thanks

Reply | Threaded
Open this post in threaded view
|

Re: Flink override config params (Docker)

Pavel Ciorba
Miki,

So something like following will do the trick?

volumes:
- /host/path/to/custom-flink-conf.yaml:/opt/flink/conf/flink-conf.yaml

2018-04-09 14:11 GMT+03:00 miki haiat <[hidden email]>:
You can mount the conf folder and ovride the conf file.

On Mon, 9 Apr 2018, 14:04 Pavel Ciorba, <[hidden email]> wrote:
Hi everyone

Is there a way to override the conf/flink-conf.yaml of the Flink Docker container?

I need to specify some params such as:
state.backend
state.backend.fs.checkpointdir
state.checkpoints.dir
etc.

Thanks