I installed spark (spark-2.1.0-bin-hadoop2.7) locally with success.
spark-2.1.0-bin-hadoop2.7
Running spark from terminal was successful through the command below:
$
It is not possible using plain Spark only. You can use:
Both support shared context, each in its own way.
Also master and driver are two completely different things.
master
driver