运行oozie时出错

时间:2015-11-27 08:25:58

标签: hadoop extjs oozie

运行以下oozie命令时出现以下错误

hadoop @ master1:〜/ work / oozie-4.1.0 / bin $ oozie-setup.sh -hadoop 0.20.200 $ HADOOP_HOME -extjs /home/hadoop/work/ext-2.2.zip

设置CATALINA_OPTS =" $ CATALINA_OPTS -Xmx1024m"

用法:oozie-setup.sh

prepare-war [-d directory] ​​[-secure]( - d标识备用目录

用于处理罐子                                                 -secure会将war文件配置为使用HTTPS(SSL))

sharelib create -fs FS_URI [-locallib SHARED_LIBRARY](为

创建sharelib)

Oozie的,                                                                 FS_URI是fs.default.name                                                                 对于hdfs uri; SHARED_LIBRARY,路径                                                                 Oozie sharelib安装,它可以是一个tarball                                                                 或者它的扩展版本。如果省略,                                                                 来自Oozie的Oozie sharelib tarball                                                                 将使用安装目录)                                                                 (如果已安装sharelib,则操作失败                                                                 在HDFS中)

sharelib upgrade -fs FS_URI [-locallib SHARED_LIBRARY](升级现有

sharelib,如果有则失败                                                                   在HDFS中没有安装现有的sharelib)           db create | upgrade | postupgrade -run [-sqlfile](创建,升级或postupgrade oozie db with a                                                                 可选的sql文件)           (没有选项打印此用法信息)

可以从http://www.extjs.com/learn/Ext_Version_Archives

下载EXTJS

有什么想法解决这个问题吗?

1 个答案:

答案 0 :(得分:0)

EXT.js对于WEBUI权利, 它表明我们需要准备战争,这意味着需要通过传递命令

来添加EXT.js
oozie-setup.sh prepare-war 

addtowar.sh -extjs EXTJS_PATH

使用preparewar时,确保在oozie home中的LIBEXT中存在ext.js文件。

参考: https://oozie.apache.org/docs/4.2.0/AG_Install.html#Oozie_Server_Setup