hadoop版本hadoop2.9.2
spark版本spark-2.3.3
conf/spark-env.sh
export SPARK_DIST_CLASSPATH=$(hadoop classpath)
export HADOOP_CONF_DIR=/home/hadoop/hadoop-2.9.2/etc/hadoop
export SPARK_MASTER_IP=localhost
cp conf/slaves.template conf/slaves
hadoop版本hadoop2.9.2
spark版本spark-2.3.3
conf/spark-env.sh
export SPARK_DIST_CLASSPATH=$(hadoop classpath)
export HADOOP_CONF_DIR=/home/hadoop/hadoop-2.9.2/etc/hadoop
export SPARK_MASTER_IP=localhost
cp conf/slaves.template conf/slaves