Cascading / Impatient

source examples to support the "Cascading for the Impatient" blog post series

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build fails with Java 7, Gradle 2.0, and Hadoop 2.4.1 on Ubuntu 14.04

ewilson opened this issue · comments

When I try to build:

me@computer:~/github/Impatient$ ~/dev/gradle-2.0/bin/gradle build.gradle    

FAILURE: Build failed with an exception.

* Where:
Build file '/home/me/github/Impatient/part1/build.gradle' line: 43

* What went wrong:
A problem occurred evaluating project ':part1'.
> You can't change configuration 'providedCompile' because it is already resolved!

I have cleared my .m2 repo, but that didn't help.

My version info

Gradle

me@computer:~/github/Impatient$ ~/dev/gradle-2.0/bin/gradle --version

------------------------------------------------------------
Gradle 2.0
------------------------------------------------------------

Build time:   2014-07-01 07:45:34 UTC
Build number: none
Revision:     b6ead6fa452dfdadec484059191eb641d817226c

Groovy:       2.3.3
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.7.0_55 (Oracle Corporation 24.51-b03)
OS:           Linux 3.13.0-32-generic amd64

Hadoop

me@computer:~/github/Impatient$ ~/dev/hadoop-2.4.1/bin/hadoop version
Hadoop 2.4.1
Subversion http://svn.apache.org/repos/asf/hadoop/common -r 1604318
Compiled by jenkins on 2014-06-21T05:43Z
Compiled with protoc 2.5.0
From source with checksum bb7ac0a3c73dc131f4844b873c74b630
This command was run using /home/me/dev/hadoop-2.4.1/share/hadoop/common/hadoop-common-2.4.1.jar

We do not support gradle 2.0 yet. Please use 1.12 and it will work.

@ewilson does it work for you with gradle 1.12? If so, please close the issue.