Hello, Akshay,

Thanks for your reply. I've been able to build with -Puber (bin/mkdistro.sh
-e -Puber -Phadoop-2 -DskipTests -Dhadoop.version=2.7.1)

When I try to execute bin/oozie-run.sh, server startup fails with
ClassNotFound Exception:

java.lang.NoClassDefFoundError: org/apache/commons/io/Charsets
at org.apache.hadoop.security.Credentials.<clinit>(Credentials.java:222)
at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:334)
at
org.apache.oozie.service.HadoopAccessorService.init(HadoopAccessorService.java:150)
at
org.apache.oozie.service.HadoopAccessorService.init(HadoopAccessorService.java:107)


On Fri, Sep 11, 2015 at 2:32 PM, Akshay Rai <[email protected]> wrote:

> Hi Dima,
>
> Try building oozie by specifying *-Puber* with your mkdistro command.
> *-Puber
> *with bundle the required jars to the war.
>
> Regards,
> Akshay
>
> On Fri, Sep 11, 2015 at 5:50 PM, Dima Fadeyev <[email protected]>
> wrote:
>
> > Hello, everyone,
> >
> > I'm trying to build Oozie from trunk. The build finishes succesfully.
> >
> > bin/mkdistro.sh -e -Phadoop-2 -DskipTests -Dhadoop.version=2.7.1
> > ...
> > [INFO] Apache Oozie Main .................................. SUCCESS [
> >  1.318 s]
> > [INFO] Apache Oozie Hadoop Utils hadoop-2-4.3.0-SNAPSHOT .. SUCCESS [
> >  3.661 s]
> > [INFO] Apache Oozie Hadoop Distcp hadoop-2-4.3.0-SNAPSHOT . SUCCESS [
> >  0.106 s]
> > [INFO] Apache Oozie Hadoop Auth hadoop-2-4.3.0-SNAPSHOT Test SUCCESS [
> >  0.389 s]
> > [INFO] Apache Oozie Hadoop Libs ........................... SUCCESS [
> >  0.022 s]
> > [INFO] Apache Oozie Client ................................ SUCCESS [
> > 12.426 s]
> > [INFO] Apache Oozie Share Lib Oozie ....................... SUCCESS [
> >  2.477 s]
> > [INFO] Apache Oozie Share Lib HCatalog .................... SUCCESS [
> >  2.998 s]
> > [INFO] Apache Oozie Share Lib Distcp ...................... SUCCESS [
> >  0.793 s]
> > [INFO] Apache Oozie Core .................................. SUCCESS [
> > 39.905 s]
> > [INFO] Apache Oozie Share Lib Streaming ................... SUCCESS [
> >  5.583 s]
> > [INFO] Apache Oozie Share Lib Pig ......................... SUCCESS [
> >  6.754 s]
> > [INFO] Apache Oozie Share Lib Hive ........................ SUCCESS [
> >  6.296 s]
> > [INFO] Apache Oozie Share Lib Hive 2 ...................... SUCCESS [
> >  6.128 s]
> > [INFO] Apache Oozie Share Lib Sqoop ....................... SUCCESS [
> >  3.045 s]
> > [INFO] Apache Oozie Examples .............................. SUCCESS [
> > 25.159 s]
> > [INFO] Apache Oozie Share Lib Spark ....................... SUCCESS
> [01:00
> > min]
> > [INFO] Apache Oozie Share Lib ............................. SUCCESS [
> > 19.944 s]
> > [INFO] Apache Oozie Docs .................................. SUCCESS [
> > 20.630 s]
> > [INFO] Apache Oozie WebApp ................................ SUCCESS [
> > 30.752 s]
> > [INFO] Apache Oozie Tools ................................. SUCCESS [
> >  2.999 s]
> > [INFO] Apache Oozie MiniOozie ............................. SUCCESS [
> >  1.565 s]
> > [INFO] Apache Oozie Distro ................................ SUCCESS [
> > 24.443 s]
> > [INFO] Apache Oozie ZooKeeper Security Tests .............. SUCCESS [
> >  2.892 s]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> >
> >
> > The docs say that I have to extract hadooplibs archive to oozie target
> > directory. However there is no hadooplibs archive anywhere. Am I missing
> > some installation steps?
> >
>

Reply via email to