Yes, you must also specify hadoop version or else you would be using 0.23.x
artifacts with version 1.0.4 where they don't exist. The most recent 0.23.x
build is not "0.23" but "0.23.4". (Use 0.23.3, if that hasn't made it to
the repo yet.)

0.20.2 is quite old, older than 1.0.4. I thought you wanted the 0.23.x /
2.0.x line?

I wouldn't recommend you use 0.23.x but that's how you would try to.

On Mon, Oct 29, 2012 at 7:06 PM, Diego Ceccarelli <
[email protected]> wrote:

> Hi Sean,
> I took a look to the profiles and in core there is this 'hadoop-0.23' but
> if I
> try to compile:
>
> mvn -P hadoop-0.23 install -DskipTests
>
> Maven returns with this weird error:
>
> [ERROR] Failed to execute goal on project mahout-core: Could not
> resolve dependencies for project
> org.apache.mahout:mahout-core:jar:0.8-SNAPSHOT: The following
> artifacts could not be resolved:
> org.apache.hadoop:hadoop-common:jar:1.0.4,
> org.apache.hadoop:hadoop-mapreduce-client-common:jar:1.0.4,
> org.apache.hadoop:hadoop-mapreduce-client-core:jar:1.0.4: Failure to
> find org.apache.hadoop:hadoop-common:jar:1.0.4 in
> http://repo1.maven.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of
> central has elapsed or updates are forced -> [Help 1]
>
> (seems that it is looking for the wrong version of hadoop..)
> I also tried to replace the property hadoop.version in the main pom,
> but it seems that there is not
> hadoop 0.23* in maven central, and I'm not able to find a the a jar to
> install it in my local repo :((
> At the end I tried with 0.20.2, and I was able to compile but I got
> the same previous error
> when I launched mahout :P
>
>

Reply via email to