我是Oozie的新手,我正在尝试安装和设置Oozie。我按照Apache网站上提供的说明操作:“http://oozie.apache.org/docs/3.3.2/DG_QuickStart.html#Building_Oozie”。我已经能够完成以下任务:
./mkdistro.sh -DskipTests
的分发。 使用以下配置更新了core-site.xml:
<property>
<name>hadoop.proxyuser.ubuntu.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.ubuntu.groups</name>
<value>*</value>
</property>
已执行oozie-setup.sh prepare-war -hadoop $HADOOP_HOME 0.20.2 -extjs libext
并收到消息“oozie准备开始”
ooziedb.sh create -sqlfile oozie.sql -run
。
DB创建成功。 已执行
oozied.sh start
报告的变量值没有报告错误。
我打开了catalina.out
文件,我看到以下消息:
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
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)
有人可以帮助我确定需要设置oozie.home.dir
属性的位置吗?
答案 0 :(得分:0)
无需导出OOZIE PATH。它是自动创建的。你有没有针对你的Hadoop版本?因为它默认建立在1.1.1之上。您可能还需要为Hadoop版本修改POM.XML。我刚刚在Hadoop 1.2.1上安装了Oozie 3.3.1,其配置与您在AWS上的配置相同。