Re: Where does the Driver run?

2019-03-29 Thread ayan guha
rch 28, 2019 10:10 AM > *To:* Jianneng Li > *Cc:* user@spark.apache.org; ak...@hacked.work; andrew.m...@gmail.com; > and...@actionml.com > > *Subject:* Re: Where does the Driver run? > > Thanks for the pointers. We’ll investigate. > > We have been told that the “Driver” is ru

Re: Where does the Driver run?

2019-03-29 Thread Jianneng Li
quests and call SparkContext accordingly. Best, Jianneng From: Pat Ferrel Sent: Thursday, March 28, 2019 10:10 AM To: Jianneng Li Cc: user@spark.apache.org; ak...@hacked.work; andrew.m...@gmail.com; and...@actionml.com Subject: Re: Where does the Driver run?

Re: Where does the Driver run?

2019-03-28 Thread Pat Ferrel
...@hacked.work Subject: Re: Where does the Driver run? Hi Pat, The driver runs in the same JVM as SparkContext. You didn't go into detail about how you "launch" the job (i.e. how the SparkContext is created), so it's hard for me to guess where the driver is. For reference, we'

Re: Where does the Driver run?

2019-03-28 Thread Mich Talebzadeh
Hi, I have explained this in my following Linkedlin article "The Operational Advantages of Spark as a Distributed Processing Framework " An extract *2) YARN Deployment Modes* The term D*eployment mode of

Re: Where does the Driver run?

2019-03-28 Thread Jianneng Li
t 12:58 PM To: Andrew Melo Cc: user , Akhil Das Subject: Re: Where does the Driver run? I’m beginning to agree with you and find it rather surprising that this is mentioned nowhere explicitly (maybe I missed?). It is possible to serialize code to be executed in executors to various no

Re: Where does the Driver run?

2019-03-25 Thread Pat Ferrel
:07 AM To: Pat Ferrel Cc: Akhil Das , user Subject: Re: Where does the Driver run? Hi Pat, Indeed, I don't think that it's possible to use cluster mode w/o spark-submit. All the docs I see appear to always describe needing to use spark-submit for cluster mode -- it's not even

Re: Where does the Driver run?

2019-03-25 Thread Andrew Melo
ster *does not work *as described unless you use > spark-submit (and I’m only guessing at that). > > Further; if we don’t use spark-submit we can’t use deployMode = cluster ??? > > > From: Akhil Das > Reply: Akhil Das > Date: March 24, 2019 at 7:45:07 PM > To: Pa

Re: Where does the Driver run?

2019-03-25 Thread Pat Ferrel
only guessing at that). Further; if we don’t use spark-submit we can’t use deployMode = cluster ??? From: Akhil Das Reply: Akhil Das Date: March 24, 2019 at 7:45:07 PM To: Pat Ferrel Cc: user Subject: Re: Where does the Driver run? There's also a driver ui (usually available on port

Re: Where does the Driver run?

2019-03-24 Thread Akhil Das
Das > Date: March 23, 2019 at 9:26:50 PM > To: Pat Ferrel > Cc: user > Subject: Re: Where does the Driver run? > > If you are starting your "my-app" on your local machine, that's where the > driver is running. > > [image: image.png] > > Hope th

Re: Where does the Driver run?

2019-03-24 Thread Arko Provo Mukherjee
Driver, and the Master > on 2 Workers. > > > > > From: Andrew Melo > Reply: Andrew Melo > Date: March 24, 2019 at 12:46:35 PM > To: Pat Ferrel > Cc: Akhil Das , user > > Subject: Re: Where does the Driver run? > > Hi Pat, > > On Sun, Mar 24, 2019

Re: Where does the Driver run?

2019-03-24 Thread Pat Ferrel
60g BTW I would expect this to create one Executor, one Driver, and the Master on 2 Workers. From: Andrew Melo Reply: Andrew Melo Date: March 24, 2019 at 12:46:35 PM To: Pat Ferrel Cc: Akhil Das , user Subject: Re: Where does the Driver run? Hi Pat, On Sun, Mar 24, 2019 at 1:03 PM

Re: Where does the Driver run?

2019-03-24 Thread Pat Ferrel
60g From: Andrew Melo Reply: Andrew Melo Date: March 24, 2019 at 12:46:35 PM To: Pat Ferrel Cc: Akhil Das , user Subject: Re: Where does the Driver run? Hi Pat, On Sun, Mar 24, 2019 at 1:03 PM Pat Ferrel wrote: > Thanks, I have seen this many times in my research. Paraphrasing do

Re: Where does the Driver run?

2019-03-24 Thread Andrew Melo
g to wonder if > the Driver only runs in the cluster if we use spark-submit > Where/how are you starting "./sbin/start-master.sh"? Cheers Andrew > > > > From: Akhil Das > Reply: Akhil Das > Date: March 23, 2019 at 9:26:50 PM > To: Pat Ferrel &

Re: Where does the Driver run?

2019-03-24 Thread Pat Ferrel
Reply: Akhil Das Date: March 23, 2019 at 9:26:50 PM To: Pat Ferrel Cc: user Subject: Re: Where does the Driver run? If you are starting your "my-app" on your local machine, that's where the driver is running. [image: image.png] Hope this helps. <https://spark.apache.

Re: Where does the Driver run?

2019-03-23 Thread Akhil Das
If you are starting your "my-app" on your local machine, that's where the driver is running. [image: image.png] Hope this helps. On Sun, Mar 24, 2019 at 4:13 AM Pat Ferrel wrote: > I have researched this for a significant amount of t

Where does the Driver run?

2019-03-23 Thread Pat Ferrel
I have researched this for a significant amount of time and find answers that seem to be for a slightly different question than mine. The Spark 2.3.3 cluster is running fine. I see the GUI on “ http://master-address:8080";, there are 2 idle workers, as configured. I have a Scala application that