Set flink-conf parameters dynamicly

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

Set flink-conf parameters dynamicly

Vasily Melnik
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. 

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

Reply | Threaded
Open this post in threaded view
|

Re: Set flink-conf parameters dynamicly

Dian Fu
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.


Regards,
Dian

在 2019年9月19日,下午10:13,Vasily Melnik <[hidden email]> 写道:

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. 

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


Reply | Threaded
Open this post in threaded view
|

Re: Set flink-conf parameters dynamicly

Vasily Melnik
Thanks, Dian!
It works for me)

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


On Thu, 19 Sep 2019 at 18:10, Dian Fu <[hidden email]> 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.


Regards,
Dian

在 2019年9月19日,下午10:13,Vasily Melnik <[hidden email]> 写道:

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. 

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