You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by nir <ni...@gmail.com> on 2015/08/06 00:58:29 UTC

Re: trying to understand yarn-client mode

Hi DB Tsai-2,

I am trying to run singleton sparkcontext in my container (spring-boot
tomcat container). When my application bootstrap I used to create
sparkContext and keep the reference for future job submission. I got it
working with standalone spark perfectly but I am having trouble with yarn
modes specially yarn-cluster mode. 
What is "new Client(new ClientArguments(args, sparkConf), hadoopConfig,
sparkConf).run " API? 
How do submit subsequent request to spark after this?

I use Java API but I can use scala too.



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/trying-to-understand-yarn-client-mode-tp7925p24145.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org