Set custom file as ClassPath in flink yarn command

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

Set custom file as ClassPath in flink yarn command

raikarsunil
Hi Folks,

Is there any way where we can set classpath value in the below command similar to java -cp?

flink run -m yarn-cluster -yst -yn 2 -ynm APPNAME -yd JARFILE ArgsForJAR

java -cp JARFILE;CustomFileLocation MainClass Args

Thanks,
Sunil
Cheers,
Sunil Raikar
Reply | Threaded
Open this post in threaded view
|

Re: Set custom file as ClassPath in flink yarn command

lining jing
flink  run -m yarn-cluster -yn 10 -yjm 1024 -ytm 2048 -c mainClass  jarPath
Reply | Threaded
Open this post in threaded view
|

Re: Set custom file as ClassPath in flink yarn command

raikarsunil
Thanks lining jing
Cheers,
Sunil Raikar