January 2019
Intermediate to advanced
322 pages
7h 29m
English
For standalone mode, you only need to place a compiled version of Spark on each node of the cluster. All the cluster nodes need to be able to resolve the hostnames of the other cluster members and are routable to one another. The Spark master URL can be configured in the $SPARK_HOME/conf/spark-defaults.conf file on all of the nodes:
spark.master spark://<master_hostname_or_IP>:7077
Then, the hostname or IP address of the Spark master node needs to be specified in the $SPARK_HOME/conf/spark-env.sh file on all of the nodes, as follows:
SPARK_MASTER_HOST, <master_hostname_or_IP>
It is now possible to start a standalone master server by executing the following script:
$SPARK_HOME/sbin/start-master.sh
Once the master has completed, ...
Read now
Unlock full access