Passing vm options

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

Passing vm options

avilevi
Hi ,
I am trying to pass some vm options e.g
bin/flink run foo-assembly-0.0.1-SNAPSHOT.jar -Dflink.stateDir=file:///tmp/ -Dkafka.bootstrap.servers="localhost:9092" -Dkafka.security.ssl.enabled=false 
but it doesn't seem to override the values in application.conf . Am I missing something?
BTW is it possible to pass config file using -Dcofig.file ?

BR
Avi
Reply | Threaded
Open this post in threaded view
|

Re: Passing vm options

Dominik Wosiński
Hey,
AFAIK, Flink supports dynamic properties currently only on YARN and not really in standalone mode.
If You are using YARN it should indeed be possible to set such configuration. If not, then I am afraid it is not possible.

Best Regards,
Dom.


pon., 7 sty 2019 o 09:01 Avi Levi <[hidden email]> napisał(a):
Hi ,
I am trying to pass some vm options e.g
bin/flink run foo-assembly-0.0.1-SNAPSHOT.jar -Dflink.stateDir=file:///tmp/ -Dkafka.bootstrap.servers="localhost:9092" -Dkafka.security.ssl.enabled=false 
but it doesn't seem to override the values in application.conf . Am I missing something?
BTW is it possible to pass config file using -Dcofig.file ?

BR
Avi
Reply | Threaded
Open this post in threaded view
|

Re: Passing vm options

avilevi
Got it. Thanks

On Mon, Jan 7, 2019 at 5:32 PM Dominik Wosiński <[hidden email]> wrote:
Hey,
AFAIK, Flink supports dynamic properties currently only on YARN and not really in standalone mode.
If You are using YARN it should indeed be possible to set such configuration. If not, then I am afraid it is not possible.

Best Regards,
Dom.


pon., 7 sty 2019 o 09:01 Avi Levi <[hidden email]> napisał(a):
Hi ,
I am trying to pass some vm options e.g
bin/flink run foo-assembly-0.0.1-SNAPSHOT.jar -Dflink.stateDir=file:///tmp/ -Dkafka.bootstrap.servers="localhost:9092" -Dkafka.security.ssl.enabled=false 
but it doesn't seem to override the values in application.conf . Am I missing something?
BTW is it possible to pass config file using -Dcofig.file ?

BR
Avi