自最近几天以来,我一直在尝试执行Oozie作业,但未运行。这些提交已提交,但在Oozie Web控制台中停留在“运行”状态。我正在使用Oozie 4.1.0和Hadoop 2.6进行此配置。

我检查了Oozie日志,他们似乎给出了以下错误:-

org.apache.oozie.service.ServiceException: E0104: Could not fully initialize service [org.apache.oozie.service.ShareLibService], Not able to cache sharelib. An Admin needs to install the sharelib with oozie-setup.sh and issue the 'oozie admin' CLI command to update the sharelib  at
org.apache.oozie.service.ShareLibService.init(ShareLibService.java:123)
    at
org.apache.oozie.service.Services.setServiceInternal(Services.java:383)
    at org.apache.oozie.service.Services.setService(Services.java:369)
    at org.apache.oozie.service.Services.loadServices(Services.java:302)
    at org.apache.oozie.service.Services.init(Services.java:210)    at
org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:45)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)

最佳答案

在oozie-site.xml中设置属性,然后重新启动oozie服务器:

<property>
 <name>oozie.service.WorkflowAppService.system.libpath</name>
 <value>/user/oozie</value>
</property>

dir “/ user / oozie” 是hdfs目录。

关于hadoop - Oozie工作不正常,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/35202019/

10-16 02:53