Hi All,

What will happen in case the jar is available on the local network, which is accessible to Driver but not to executors.
Is there any good study resource where the deployment of exernal is explained nicely?


On Fri, Aug 14, 2020 at 11:15 AM Henoc <mukadi.kalombo@gmail.com> wrote:
If you are running Spark on Yarn, the spark-submit utility will download the jar from S3 and copy it to HDFS in a distributed cache. The driver shares this location with Yarn NodeManagers via the container LaunchContext. NodeManagers localize the jar and place it on container classpath before they launch the executor container


On Fri, Aug 14, 2020, 6:19 AM Russell Spitzer <russell.spitzer@gmail.com> wrote:
Looking back at the code

All --jar Args and such run through

Which calls 

Which places local jars on the driver hosted file server and just leaves Remote Jars as is with the path for executors to access them

On Thu, Aug 13, 2020 at 11:01 PM Russell Spitzer <russell.spitzer@gmail.com> wrote:
The driver hosts a file server which the executors download the jar from.

On Thu, Aug 13, 2020, 5:33 PM James Yu <james@ispot.tv> wrote:

When I spark submit a Spark app with my app jar located in S3, obviously the Driver will download the jar from the s3 location.  What is not clear to me is: where do the Executors get the jar from?  From the same s3 location, or somehow from the Driver, or they don't need the jar?

Thanks in advance for explanation.