Spark 源码除了用 sbt/sbt assembly 编译,也可用Maven进行编译,具体步骤如下:
sbt/sbt assembly
详见:http://www.micmiu.com/bigdata/spark/spark-building-with-maven/