Does the driver need constant access to the master node? Or is it only required to get initial resource allocation? What happens if master is not available after Spark cont
Yes, the driver and master communicate constantly throughout the SparkContext's lifetime. That allows driver to:
rdd.count() won't terminate until job is completed) and get their resultA disconnect between driver and master will fail the job.