Yes, did you read my reply? 0.23.4 is the latest 0.23.x release, but, for
whatever reason it takes a while for them to get around to pushing it to
the central repo. 0.23.3 is definitely out there, at least:

http://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common/0.23.3

But if you use the ASF repo you should be able to get 0.23.4:

https://repository.apache.org/content/repositories/public/org/apache/hadoop/hadoop-common/0.23.4/

But, most of all note that you are not looking for hadoop-core but
hadoop-common

You're really on your own though, this is not supported or recommended by
anyone. If you don't need to use 0.23.x you shouldn't.

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

> On Mon, Oct 29, 2012 at 9:38 PM, Sean Owen <[email protected]> wrote:
> > 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?
>
> The profile in core/pom.xml is called hadoop-0.23, and does not
> seem to work.
> I tried to replace <hadoop.version> 1.0.3 </hadoop-version> in the
> main pom, with 0.23.4 but it seems that the central repository does
> not contain this jar,
> and I'm not able to find it on the Web :P
> I tried the version 0.22.0-SNAPSHOT from asf repository [1],
> but I got compilation errors  [2].
>
> > I wouldn't recommend you use 0.23.x but that's how you would try to.
> Unfortunately I can't downgrade/upgrade the hadoop version on the cluster
> :)
> Thanks for your help
>
> [1]
> https://repository.apache.org/content/repositories/public/org/apache/hadoop/hadoop-core/
> [2]  http://pastebin.com/8vVJDVQW
>
> > 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
> >>
> >>
>
>
>
> --
> Computers are useless. They can only give you answers.
> (Pablo Picasso)
> _______________
> Diego Ceccarelli
> High Performance Computing Laboratory
> Information Science and Technologies Institute (ISTI)
> Italian National Research Council (CNR)
> Via Moruzzi, 1
> 56124 - Pisa - Italy
>
> Phone: +39 050 315 3055
> Fax: +39 050 315 2040
> ________________________________________
>

Reply via email to