Support Questions

Find answers, ask questions, and share your expertise

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