spark 运行自带样例SparkPi、spark-examples报错_error: failed to load class org.apache.spark.examp-CSDN博客

网站介绍:文章浏览阅读9.8k次,点赞4次,收藏18次。错误:scala> ./spark-submit --class org.apache.spark.examples.SparkPi --master local[2] ../examples/jars/spark-examples_2.12-3.10.1.jar 10scala> spark-submit --class org.apache.spark.examples.SparkPi --master local[2] ../examples/jars/spark-examples__error: failed to load class org.apache.spark.examples.sparkpi.