Spark-Hadoop集群安装见:https://blog.csdn.net/qq_25948717/article/details/80758713
(1)计算圆周率pi:在spark安装目录下运行:run-example SparkPi 10 > SparkPi.txt
在文件里可以看到:Pi is roughly 3.13981513981514
版权声明:本文为qq_25948717原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
Spark-Hadoop集群安装见:https://blog.csdn.net/qq_25948717/article/details/80758713
(1)计算圆周率pi:在spark安装目录下运行:run-example SparkPi 10 > SparkPi.txt
在文件里可以看到:Pi is roughly 3.13981513981514