oozie安装-oozied.sh启动时出错

8ehkhllq  于 2021-06-03  发布在  Hadoop
关注(0)|答案(1)|浏览(372)

我是新来的oozie,我正在尝试安装和安装oozie。我遵循apache网站上提供的说明:“http://oozie.apache.org/docs/3.3.2/dg_quickstart.html#building_oozie". 我已经完成了以下工作:
构建分发服务器 ./mkdistro.sh -DskipTests .
下载了extjs2.2并分解成一个libext文件夹
我已经安装了hadoop1.1.2,并在aws示例中使用了ubuntu12.04。
在我学习的过程中,集群被设置为伪分布式的
使用以下配置更新了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 . 数据库创建成功。
执行

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 需要设置属性?

ny6fqffe

ny6fqffe1#

不需要导出oozie路径。它是自动创建的。你是用hadoop版本构建的吗?因为它默认基于1.1.1构建。您可能还需要为hadoop版本修改pom.xml。我刚刚在hadoop1.2.1上安装了oozie3.3.1,其配置与您在aws上的配置相同。

相关问题