[Issue] Unable to pass VM arguments

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

[Issue] Unable to pass VM arguments

Vinay Patil
Hi,

I am unable to pass VM arguments to my jar, this is the way I am running it:

*bin/flink run test.jar config.yaml*

I cannot add the VM arguments(app.name) in *env.java.opts * since there
will be multiple applications running which has this as the argument

Is there any way to pass the VM argument to the above command

Thanks and Regards,
Vinay Patil
Reply | Threaded
Open this post in threaded view
|

Re: [Issue] Unable to pass VM arguments

Ufuk Celebi-2
Via YARN it's possible to set dynamically, but for standalone clusters
unfortunately not at the moment.

On Fri, Jun 3, 2016 at 3:46 PM, Vinay Patil <[hidden email]> wrote:

> Hi,
>
> I am unable to pass VM arguments to my jar, this is the way I am running it:
>
> *bin/flink run test.jar config.yaml*
>
> I cannot add the VM arguments(app.name) in *env.java.opts * since there
> will be multiple applications running which has this as the argument
>
> Is there any way to pass the VM argument to the above command
>
> Thanks and Regards,
> Vinay Patil