启动master
./sbin/start-master.sh
启动worker
./bin/spark-class org.apache.spark.deploy.worker.Worker spark://briup-virtual-machine:7077
提交作业
./bin/spark-submit --master spark://briup-virtual-machine:7077 --class WorkCount /home/briup/spark01.jar
spark 启动命令
最新推荐文章于 2024-05-23 11:02:20 发布