incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron McCurry <amccu...@gmail.com>
Subject Compiling Blur against different versions of Hadoop
Date Sun, 14 Jul 2013 20:11:44 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message