You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by raikarsunil <rs...@gmail.com> on 2017/02/27 14:04:53 UTC

Set custom file as ClassPath in flink yarn command

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



--
View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Set-custom-file-as-ClassPath-in-flink-yarn-command-tp11929.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.

Re: Set custom file as ClassPath in flink yarn command

Posted by raikarsunil <rs...@gmail.com>.
Thanks lining jing



--
View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Set-custom-file-as-ClassPath-in-flink-yarn-command-tp11929p11959.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.

Re: Set custom file as ClassPath in flink yarn command

Posted by lining jing <ji...@gmail.com>.
flink  run -m yarn-cluster -yn 10 -yjm 1024 -ytm 2048 -c mainClass  jarPath