必须在master里面打开,然后输入下面代码就可开始spark环境
/usr/spark/spark-2.4.1-bin-hadoop2.7/sbin/start-all.sh
spark客户端连接,出现scala才算成功
cd /usr/spark/spark-2.4.1-bin-hadoop2.7/bin/
spark-shell --master spark://master:7077
必须在master里面打开,然后输入下面代码就可开始spark环境
/usr/spark/spark-2.4.1-bin-hadoop2.7/sbin/start-all.sh
spark客户端连接,出现scala才算成功
cd /usr/spark/spark-2.4.1-bin-hadoop2.7/bin/
spark-shell --master spark://master:7077