spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcelo Vanzin <van...@cloudera.com>
Subject Re: How to incrementally compile spark examples using mvn
Date Sun, 16 Nov 2014 02:26:13 GMT
I haven't tried scala:cc, but you can ask maven to just build a
particular sub-project. For example:

  mvn -pl :spark-examples_2.10 compile

On Sat, Nov 15, 2014 at 5:31 PM, Yiming (John) Zhang <sdiris@gmail.com> wrote:
> Hi,
>
>
>
> I have already successfully compile and run spark examples. My problem is
> that if I make some modifications (e.g., on SparkPi.scala or LogQuery.scala)
> I have to use “mvn -DskipTests package” to rebuild the whole spark project
> and wait a relatively long time.
>
>
>
> I also tried “mvn scala:cc” as described in
> http://spark.apache.org/docs/latest/building-with-maven.html, but I could
> only get infinite stop like:
>
> [INFO] --- scala-maven-plugin:3.2.0:cc (default-cli) @ spark-parent ---
>
> [INFO] wait for files to compile...
>
>
>
> Is there any method to incrementally compile the examples using mvn? Thank
> you!
>
>
>
> Cheers,
>
> Yiming



-- 
Marcelo

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message