thanks a lot, seem work now and save a lot of time



Best Regards

Zhang,Liyun/Kelly Zhang





At 2019-03-26 17:49:03, "Ajith shetty" <[email protected]> wrote:

You can try using -pl maven option for this
> mvn clean install -pl :spark-core_2.11

From:Qiu, Gerry <[email protected]>
To:zhangliyun <[email protected]>;[email protected] <[email protected]>
Date:2019-03-26 14:34:20
Subject:RE: How to build single jar for single project in spark



You can try this  
https://spark.apache.org/docs/latest/building-spark.html#building-submodules-individually

 

Thanks,

Gerry

 

From: zhangliyun <[email protected]>
Sent: 2019年3月26日 16:50
To: [email protected]
Subject: How to build single jar for single project in spark

 

Hi all:

  I have a question when i modify one file  in spark project like 
org/apache/spark/sql/execution/ui/SparkPlanGraph.scala.  Can i only build the 
single jar  spark-core_2.11-2.3.2.jar? After finishing building the single jar 
then copy the jar to $SPARK_HOME/jars directory.  If anyone knows the detail 
way to make it work, please tell me because  i think it spends long time(20+ 
minutes in my windows laptop) to rebuild the whole package if only make small 
modification.

 

 

Best Regards

Zhang,Liyun/Kelly Zhang

 

 

Reply via email to