Spark Cluster Configuration
Following the Hadoop configurations.
In $SPARK_HOME/conf:
- Configure
spark-env.sh
cp spark-env.sh.template spark-env.sh
and add following:
Text Only
PYSPARK_DRIVER_PYTHON=python3
export HADOOP_CONF_DIR=/usr/local/hadoop/etc/hadoop
export SPARK_MASTER_HOST=$Master IP
export SPARK_WORKER_PORT=20001