With maven you could like:

mvn -Dhadoop.version=2.3.0 -DskipTests clean package -pl core


Thanks
Best Regards

On Mon, Apr 20, 2015 at 8:10 PM, Shiyao Ma <[email protected]> wrote:

> Hi.
>
> My usage is only about the spark core and hdfs, so no spark sql or
> mlib or other components invovled.
>
>
> I saw the hint on the
> http://spark.apache.org/docs/latest/building-spark.html, with a sample
> like:
> build/sbt -Pyarn -Phadoop-2.3 assembly. (what's the -P for?)
>
>
> Fundamentally, I'd like to let sbt only compile and package the core
> and the hadoop.
>
> Meanwhile, it would be appreciated if you could inform me what's the
> scala file that controls the logic of "-Pyarn", so that I can dig into
> the build source and have a finer control.
>
>
>
> Thanks.
>
> --
>
> 吾輩は猫である。ホームーページはhttp://introo.me。
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to