incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Compiling Blur against different versions of Hadoop
Date Sun, 21 Jul 2013 20:09:38 GMT
Hi Aaron,

I get the following error when compiling against CDH4.

[ERROR] Failed to execute goal on project blur-mapred: Could not resolve
dependencies for project
org.apache.blur:blur-mapred:jar:0.2.0-incubating-SNAPSHOT: The following
artifacts could not be resolved:
Failure to find org.apache.hadoop:hadoop-common:jar:2.0.0-mr1-cdh4.3.0 in
file:///tmp/incubator-blur/blur-mapred/../lib was cached in the local
repository, resolution will not be reattempted until the update interval
of libdir has elapsed or updates are forced -> [Help 1]

Here is the full log:



> I have made a few pom file updates.  The -P "distribution" was removed
> because I needed to use profiles to be able to change out the
> dependencies.
>  So with this commit:
> You can now compile Blur against different versions of Hadoop.  By default
> it runs the "hadoop-1x" profile with the 1.1.2 version of Hadoop.
> So running "mvn install" runs "mvn install -Phadoop-1x
> -Dhadoop.version=1.1.2"
> If you want to compile against Hadoop 1.2.0 run:
> "mvn install -Phadoop-1x -Dhadoop.version=1.2.0"
> If you want to compile against cdh4 with mr1 run:
> "mvn install -Pcdh4-mr1 -Dhadoop.version=2.0.0-mr1-cdh4.3.0"
> Hope this helps those who want to run Blur on different Hadoop distros.
> Aaron

View raw message