Oozie错误解决方法

原创 2016年12月26日 16:50:57
错误一:

错误提示:ERROR: Bad Request;default/E1004 : E1004: Expression language evaluation error, Unable to evaluate :${now(0,-5)}:
CausedBy: E1004: Expression language evaluation error, Unable to evaluate :${now(0,-5)}:
解决方法:

bin/oozie-setup.sh prepare-war

#打包oozie war包

bin/ooziedb.sh create -sqlfile oozie.sql  -run

#初始化数据库

vim oozie-server/conf/server.xml

#修改服务器端conf/server.xml文件,注释掉下面的记录

<!--<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />-->

错误二:


错误提示:Error: E0100: Could not initialize service [org.apache.oozie.service.HadoopAccessorService], could not find hadoop configuration directory: /var/local/2.6.0/etc/hadoop


Stack trace for the error was (for debug purposes):

--------------------------------------

org.apache.oozie.service.ServiceException: E0100: Could not initialize service [org.apache.oozie.service.HadoopAccessorService], could not find hadoop .2.0/conf/ /var/local/hadoop/hadoop-2.6.0/etc/hadoop

at org.apache.oozie.service.HadoopAccessorService.parseConfigDirs(HadoopAccessorService.java:230)

at org.apache.oozie.service.HadoopAccessorService.loadHadoopConfigs(HadoopAccessorService.java:246)

at org.apache.oozie.service.HadoopAccessorService.init(HadoopAccessorService.java:147)

at org.apache.oozie.service.HadoopAccessorService.init(HadoopAccessorService.java:106)

at org.apache.oozie.service.Services.setServiceInternal(Services.java:386)

at org.apache.oozie.service.Services.setService(Services.java:372)

at org.apache.oozie.service.Services.loadServices(Services.java:305)

at org.apache.oozie.service.Services.init(Services.java:213)

at org.apache.oozie.tools.OozieSharelibCLI.run(OozieSharelibCLI.java:146)

at org.apache.oozie.tools.OozieSharelibCLI.main(OozieSharelibCLI.java:57)

解决方法:重新配置这个目录
        [hdfs@zte-1 oozie-4.2.0]$ vim conf/oozie-site.xml
错误三:
Oozie重启步骤:
    1.进入/var/local/hadoop/oozie-4.2.0
    2.将Oozie停止运行./bin/oozie-stop.sh
    3.重新进行打包war包 ./bin/oozie-setup.sh prepare-war
    4.重新打开Oozie:./bin/oozie-start.sh
错误四:

错误提示:
 Caused by: java.net.ConnectException: Call From zte-1/192.168.83.128 to zte-1:10020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefuse 
解决方法:根据错误提示,发现是10020端口属于Jobhistory进程,于是启动history进程

$HADOOP_HOME/sbin/mr-jobhistory-daemon.sh start historyserver

版权声明:本文为博主原创文章,未经博主允许不得转载。

oozie 运行错误

Failing Oozie Launcher, Output data size [2,070] exceeds maximum [2,048] 在读取了属性信息放到oozie节点中的时候因为数据太...

Apache Oozie - the workflow scheduler for hadoop

One of Oozie’s strengths is that it was custom built from the ground up for Hadoop. This not only me...

各位谁遇到编译oozie-4.0.1 oozie时的报错,具体怎么解决?

[hadoop@slavenode8 oozie-4.0.1]$ bin/mkdistro.sh -DskipTests -Dhadoop.version=2.3.0 [ERROR] No goal...

oozie ErrorCode 含义

在执行oozie应用是,经常会遇到错误代码,danshi

oozie常见问题

通过异常信息,可以猜测应该是在执行任务时,配置没有读到,所以使用了默认的0.0.0.0:8030地址。为了验证是否是这个原因造成的,我们可以修改oozie/conf目录下的log4j的日志级别为调试。...

oozie执行时报错无法跟进FAILED

执行oozie时,会出现直接报出FAILED错误,而且不能跟进查看错误日志。如下图错误:                   通过查看oozie源码,可以发现core\src\main\java\or...
  • dlg07
  • dlg07
  • 2014年12月11日 14:15
  • 3659

oozie安装失败SERVER[cdh.master.linesum] E0103:

oozie安装失败SERVER[cdh.master.linesum] E0103: Could not load service classes, Cannot load JDBC driver c...

Oozie 报错的解决方法

1,错误信息:       org.apache.oozie.action.ActionExecutorException: Could not locate Oozie sharelib at ...

oozie(4.1.0)架构及二次开发流程

oozie架构图 从oozie的架构图中,可以看到所有的任务都是通过oozie生成相应的任务客户端,并通过任务客户端来提交相应的任务; 对oozie的二次开发都集中在了oozie server那里...

oozie4.3编译安装

编译4.2版本的时候有问题,于是换成4.3版本 1、下载oozie源码并解压 wget http://mirror.bit.edu.cn/apache/oozie/4.3.0/oozie-4....
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Oozie错误解决方法
举报原因:
原因补充:

(最多只允许输入30个字)