incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From developm...@the10thfloor.com
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:
org.apache.hadoop:hadoop-common:jar:2.0.0-mr1-cdh4.3.0,
org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.0.0-mr1-cdh4.3.0,
org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.0.0-mr1-cdh4.3.0:
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:

http://pastebin.com/tbYLgFFq

Thanks,

slevytam



> 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:
>
> https://git-wip-us.apache.org/repos/asf?p=incubator-blur.git;a=commit;h=84eb05a1caf3d8aac03f29b92db4dd4fe7cbce38
>
> 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
>


Mime
View raw message