Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Education - building Oozie

avatar
Explorer

Hi community,

 

I try to build Cloudera Oozie 5 from the Apache web site for educational purpose against Hadoop 3.

 

Every time I run the mkdistro.sh command with parameters like "-Dhadoop.version=3.0.0" the build failed on Oozie Core.

 

So I'm trying the first option to add the hadoop jars :

1. At install time, copy the hadoop and hcatalog libraries to libext and run oozie-setup.sh to setup Oozie. This is
suitable when same oozie package needs to be used in multiple set-ups with different hadoop/hcatalog versions.

 

Could you please explain how it works in such last case ? Or could you give me a way that works to build Oozie with Hadoop 3 ? Thanks

1 ACCEPTED SOLUTION

avatar
Mentor

Here's what I do to build Apache Oozie 5.x from CDH6 (6.0.0) via sources:

 

 

~> git clone https://github.com/cloudera/oozie.git
~> cd oozie/ && git checkout cdh6.0.0
~> bin/mkdistro.sh -DskipTests -Puber
… (takes ~15+ minutes if building for the first time) …
~> ls -lh distro/target/
# Look for oozie-5.0.0-cdh6.0.0-distro.tar.gz

 

View solution in original post

1 REPLY 1

avatar
Mentor

Here's what I do to build Apache Oozie 5.x from CDH6 (6.0.0) via sources:

 

 

~> git clone https://github.com/cloudera/oozie.git
~> cd oozie/ && git checkout cdh6.0.0
~> bin/mkdistro.sh -DskipTests -Puber
… (takes ~15+ minutes if building for the first time) …
~> ls -lh distro/target/
# Look for oozie-5.0.0-cdh6.0.0-distro.tar.gz