You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Pavel Ciorba <pa...@gmail.com> on 2018/04/09 11:04:44 UTC

Flink override config params (Docker)

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

Re: Flink override config params (Docker)

Posted by Pavel Ciorba <pa...@gmail.com>.
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 <mi...@gmail.com>:

> You can mount the conf folder and ovride the conf file.
>
> On Mon, 9 Apr 2018, 14:04 Pavel Ciorba, <pa...@gmail.com> 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
>>
>>

Re: Flink override config params (Docker)

Posted by miki haiat <mi...@gmail.com>.
You can mount the conf folder and ovride the conf file.

On Mon, 9 Apr 2018, 14:04 Pavel Ciorba, <pa...@gmail.com> 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
>
>