Spark官方代码 http://spark.apache.org/examples.html
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
实例1:分布式估算Pi
实例2:log query
实例3:逻辑回归
简易电影受众系统