On trunk, you can build oozie with all the required hadoop dependencies: ./bin/mkdistro,sh -Puber,hadoop-2 -Dhadoop.version=<version> Note that with this option, you don't need to copy any hadoop jars to libext
More details at: https://github.com/apache/oozie/blob/master/docs/src/site/twiki/DG_QuickStart.twiki -Shwetha On Thu, Jan 29, 2015 at 6:58 AM, raymond <[email protected]> wrote: > Hi > > The quick start http://oozie.apache.org/docs/4.1.0/DG_QuickStart.html < > http://oozie.apache.org/docs/4.1.0/DG_QuickStart.html> mentioned the > Oozie hadooplibs tar.gz, > > While I could not find the package been built when following > http://oozie.apache.org/docs/4.1.0/ENG_Building.html < > http://oozie.apache.org/docs/4.1.0/ENG_Building.html> > > I built the distro package on latest trunk code say 4.2 snapshot with > > mvn -DskipTests=true -Phadoop-2 -Dhadoop.version=2.4.1 clean package > assembly:single > > And the build doc also mentioned > > includeHadoopJars (*): includes Hadoop JARs and its transitive > dependencies in the Oozie WAR file, default is undefined (Hadoop JARs are > not included). > > But this one seems been removed already, could not grep it in the pom > file at all. I try to build the package with this one anyway, and it didn't > work. > > So, How could I built this hadooplibs tar.gz package? I did found some jar > in hadoop-auth2, hadoop-distcp-2 hadoop-utils-2. And copy it to libext > before prepare war. however there are still missing jar dependencies when I > try to run oozied start. I certainly can copy all the needed jar from > somewhere into the libext, but any better way? > > Anyone can give me a clue what did I miss during the built process? > > Thanks > > Raymond
