I'm new to Oozie and I'm trying to install and setup Oozie. I am following the instructions provided on the Apache site: "http://oozie.apache.org/docs/3.3.2/DG_QuickStart.html#Building_Oozie". I have been able to complete the following:
- Build the distribution executing
./mkdistro.sh -DskipTests. - Downloaded ExtJs 2.2 and exploded into a folder libext
- I already have Hadoop 1.1.2 installed and working on Ubuntu 12.04 in the AWS instance.
- The cluster is setup as a pseudo-distributed as I'm learning
Updated the core-site.xml with the configuration below:
<property> <name>hadoop.proxyuser.ubuntu.hosts</name> <value>*</value> </property> <property> <name>hadoop.proxyuser.ubuntu.groups</name> <value>*</value> </property>Executed
oozie-setup.sh prepare-war -hadoop $HADOOP_HOME 0.20.2 -extjs libextand received the message "oozie ready to be started"- Executed
ooziedb.sh create -sqlfile oozie.sql -run. DB created successfully. Executed
oozied.sh startNo errors reported just variable values printed.
I opened the
catalina.outfile and I see the following message:Oct 16, 2013 6:56:10 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server} Setting property 'port' to '${oozie.admin.port}' did not find a matching property. Oct 16, 2013 6:56:11 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /vol-cbe153a/jdk1.6.0_45/jre/lib/amd64/server:/vol-cbe153a/jdk1.6.0_45/jre/lib/amd64:/vol-cbe153a/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib Oct 16, 2013 6:56:11 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-0 Oct 16, 2013 6:56:11 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1488 ms Oct 16, 2013 6:56:11 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Oct 16, 2013 6:56:11 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.36 Oct 16, 2013 6:56:11 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor oozie.xml ERROR: Oozie could not be started REASON: org.apache.oozie.service.ServiceException: E0000: System property 'oozie.home.dir' not defined
Stacktrace:
org.apache.oozie.service.ServiceException: E0000: System property 'oozie.home.dir' not defined
at org.apache.oozie.service.Services.setOozieHome(Services.java:80)
at org.apache.oozie.service.Services.<init>(Services.java:101)
at org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:38)
Can somebody help me on where the oozie.home.dir property needs to be set?