3 深入了解
最后更新于:2022-04-01 21:41:31
亲爱的读者,恭喜你运行了你的第一个Spark应用程序!
你肯定不仅仅满足于此,以下是更多的深入学习的资料:
* 深度学习API和其它组件, 请参照[Spark开发指南](https://spark.apache.org/docs/latest/programming-guide.html)
* 学习在集群中运行程序,访问 [发布概览](https://spark.apache.org/docs/latest/cluster-overview.html).
* 最后, Spark发布包中的examples文件夹下包含几个例子 ([Scala](https://github.com/apache/spark/tree/master/examples/src/main/scala/org/apache/spark/examples), [Java](https://github.com/apache/spark/tree/master/examples/src/main/java/org/apache/spark/examples), [Python](https://github.com/apache/spark/tree/master/examples/src/main/python)). 你可以运行它们:
~~~
# For Scala and Java, use run-example:
./bin/run-example SparkPi
# For Python examples, use spark-submit directly:
./bin/spark-submit examples/src/main/python/pi.py
~~~
翻译自 [Quick Start](https://spark.apache.org/docs/latest/quick-start.html)
';