This topic contains 1 reply, has 2 voices, and was last updated by clusterman 2 years, 10 months ago.
February 3, 2015 at 6:20 pm #3024
Below is the high level procedural steps for installing and setup of Apache Falcon from Apache. It is still incubator status and we have to use maven to build apache falcon. In this topic, we are installing faclon-0.7-incubating version on Ubuntu 14.04. We are using Hadoop-2.6.0 and Oozie-4.0.0 to integrate falcon with this.
We can clone Falcon sources from git and call the
src/bin/package.shwith the Hadoop and Oozie target versions that we want:
$ git clone https://git-wip-us.apache.org/repos/asf/incubator-falcon falcon
If java version on our machine is greater than or equal to 1.7 then we need to edit the build-tools/src/bin/build-oozie.sh to add the below line to make it ready for java version 1.7 otherwise it will throw Error Message 1 shown at the bottom of this post.
in build-tools/src/bin/build-oozie.sh:build-tools/src/bin/build-oozie.shXHTML123457after:sed -i.bak s/$VERSION\<\\/version\>/$BUILD_VERSION\<\\/version\>/g pom.xml */pom.xml */*/pom.xml#code added by usersed '/avaVersion/s/1.6/1.7/' pom.xml.$$ > pom.xml
then submit the below commands from falcon folder.XHTML123$ cd falcon$ src/bin/package.sh 2.6.0 4.1.0
Error Message 1XHTML12345678910[INFO] --- maven-enforcer-plugin:1.0:enforce (clean) @ oozie-main ---[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:Detected JDK Version: 1.7.0-75 is not in the allowed range [1.6.0,1.6.1000}]..........................[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (BUILD-OOZIE) on project build-tools: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1][ERROR][ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.May 15, 2015 at 3:20 pm #3438
yep :), it is working for me.
just on remark, i must maven 3, some unix install only maven 2 and pom.xml seem not
more compatible for compiling.
it is very useful help for hadoop 2.6.0, because it save lot of time and works and investigation i lose lost of time with oozie, an when i see oozie embeded inside falcon.
thanks for the job and your time
The topic ‘Apache Falcon Installation on Ubuntu 14.04’ is closed to new replies.