You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Vasily Melnik <Va...@glowbyteconsulting.com> on 2019/09/19 14:13:40 UTC

Set flink-conf parameters dynamicly

Hi, all
I wonder is it possible to pass custom flink-conf file as run util
parameter or change config parameters in Java code manually?
I'd like to change metrics.scope parameter for each job independently.

С уважением,
Василий Мельник

Re: Set flink-conf parameters dynamicly

Posted by Vasily Melnik <Va...@glowbyteconsulting.com>.
Thanks, Dian!
It works for me)

С уважением,
Василий Мельник

On Thu, 19 Sep 2019 at 18:10, Dian Fu <di...@gmail.com> wrote:

> Hi Vasily Melnik,
>
> If you use yarn mode, you could try to use the option "-yD <property=
> value>" during submitting the job [1] to change the configuration
> dynamically.
>
> [1] https://ci.apache.org/projects/flink/flink-docs-stable/ops/cli.html
>
> Regards,
> Dian
>
> 在 2019年9月19日,下午10:13,Vasily Melnik <Va...@glowbyteconsulting.com>
> 写道:
>
> Hi, all
> I wonder is it possible to pass custom flink-conf file as run util
> parameter or change config parameters in Java code manually?
> I'd like to change metrics.scope parameter for each job independently.
>
> С уважением,
> Василий Мельник
>
>
>

Re: Set flink-conf parameters dynamicly

Posted by Dian Fu <di...@gmail.com>.
Hi Vasily Melnik,

If you use yarn mode, you could try to use the option "-yD <property=value>" during submitting the job [1] to change the configuration dynamically.

[1] https://ci.apache.org/projects/flink/flink-docs-stable/ops/cli.html <https://ci.apache.org/projects/flink/flink-docs-stable/ops/cli.html>

Regards,
Dian

> 在 2019年9月19日,下午10:13,Vasily Melnik <Va...@glowbyteconsulting.com> 写道:
> 
> Hi, all
> I wonder is it possible to pass custom flink-conf file as run util parameter or change config parameters in Java code manually? 
> I'd like to change metrics.scope parameter for each job independently. 
> 
> С уважением,
> Василий Мельник