build spark

Error : 

Failed to find Spark jars directory (/home/pl62716/spark-2.2.0-SNAPSHOT/assembly/target/scala-2.10/jars).
You need to build Spark with the target "package" before running this program.

Build spark :

原文地址:https://www.cnblogs.com/liupuLearning/p/6472155.html