spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Wendell <pwend...@gmail.com>
Subject Re: 1.3 Build Error with Scala-2.11
Date Tue, 07 Apr 2015 02:54:06 GMT
The issue is that if you invoke "build/mvn" it will start zinc again
if it sees that it is killed.

The absolute most "sterile" thing to do is this:
1. Kill any zinc processes.
2. Clean up spark "git clean -fdx" (WARNING: this will delete any
staged changes you have, if you have code modifications or extra files
around)
3. Run the 2.11 script to change the versions.
4. Run "mvn package" with maven that you installed on your machine.


On Mon, Apr 6, 2015 at 10:43 PM, Marty Bower <spark@mjhb.com> wrote:
> I'm killing zinc (if it's running) before running each build attempt.
>
> Trying to build as "clean" as possible.
>
>
> On Mon, Apr 6, 2015 at 7:31 PM Patrick Wendell <pwendell@gmail.com> wrote:
>>
>> What if you don't run zinc? I.e. just download maven and run that "mvn
>> package...". It might take longer, but I wonder if it will work.
>>
>> On Mon, Apr 6, 2015 at 10:26 PM, mjhb <spark@mjhb.com> wrote:
>> > Similar problem on 1.2 branch:
>> >
>> > [ERROR] Failed to execute goal on project spark-core_2.11: Could not
>> > resolve
>> > dependencies for project
>> > org.apache.spark:spark-core_2.11:jar:1.2.3-SNAPSHOT: The following
>> > artifacts
>> > could not be resolved:
>> > org.apache.spark:spark-network-common_2.10:jar:1.2.3-SNAPSHOT,
>> > org.apache.spark:spark-network-shuffle_2.10:jar:1.2.3-SNAPSHOT: Failure
>> > to
>> > find org.apache.spark:spark-network-common_2.10:jar:1.2.3-SNAPSHOT in
>> > http://repository.apache.org/snapshots was cached in the local
>> > repository,
>> > resolution will not be reattempted until the update interval of
>> > apache.snapshots has elapsed or updates are forced -> [Help 1]
>> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> > execute
>> > goal on project spark-core_2.11: Could not resolve dependencies for
>> > project
>> > org.apache.spark:spark-core_2.11:jar:1.2.3-SNAPSHOT: The following
>> > artifacts
>> > could not be resolved:
>> > org.apache.spark:spark-network-common_2.10:jar:1.2.3-SNAPSHOT,
>> > org.apache.spark:spark-network-shuffle_2.10:jar:1.2.3-SNAPSHOT: Failure
>> > to
>> > find org.apache.spark:spark-network-common_2.10:jar:1.2.3-SNAPSHOT in
>> > http://repository.apache.org/snapshots was cached in the local
>> > repository,
>> > resolution will not be reattempted until the update interval of
>> > apache.snapshots has elapsed or updates are forced
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> > http://apache-spark-developers-list.1001551.n3.nabble.com/1-3-Build-Error-with-Scala-2-11-tp11441p11442.html
>> > Sent from the Apache Spark Developers List mailing list archive at
>> > Nabble.com.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
>> > For additional commands, e-mail: dev-help@spark.apache.org
>> >

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


Mime
View raw message