spark-submit --master spark://hadoop01:7077
--class org.apache.spark.examples.SparkPi
/usr/local/spark-2.2.2-bin-hadoop2.7/examples/jars/spark-examples_2.11-2.2.2.jar 100
spark-submit --master spark://hadoop01:7077
--class org.apache.spark.examples.SparkPi
/usr/local/spark-2.2.2-bin-hadoop2.7/examples/jars/spark-examples_2.11-2.2.2.jar 100
转载于:https://www.cnblogs.com/drl-blogs/p/11086839.html