编译spark example 前提是装好了eclipse的scala插件 git clone https://github.com/apache/spark.git cd spark git branch -r git checkout -t origin/branch-2.1 转载于:https://www.cnblogs.com/wifi0/p/6731513.html