oozie作业不起作用

hlswsv35  于 2021-05-29  发布在  Hadoop
关注(0)|答案(2)|浏览(408)

从最近几天开始,我一直在试着运行一个oozie作业,但它没有运行。在OozieWeb控制台中,将提交但仍停留在“运行”状态。我正在使用oozie4.1.0和hadoop2.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)
2lpgd968

2lpgd9681#

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

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

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

fiei3ece

fiei3ece2#

尝试设置属性 oozie.system.libpath=true 在你的 job.properties 文件。

相关问题