On 10 Feb 2016, at 04:42, praveen S 
<mylogi...@gmail.com<mailto:mylogi...@gmail.com>> wrote:


Hi,

I have 2 questions when running the spark jobs on yarn in client mode :

1) Where is the AM(application master) created :


in the cluster



A) is it created on the client where the job was submitted? i.e driver and AM 
on the same client?

no


Or B) yarn decides where the the AM should be created?

yes

2) Driver and AM run in different processes : is my assumption correct?


yes. the driver runs on your local system, which had better be close to the 
cluster and stay up for the duration of the work

Regards,
Praveen

Reply via email to