搭建oozie3.3.2CDH4.4.0

1.下载extjs2.2
2.在Hadoop core-site.xml下添加

 
    hadoop.proxyuser.[OOZIE_SERVER_USER].hosts
    [OOZIE_SERVER_HOSTNAME]
 

 
    hadoop.proxyuser.[OOZIE_SERVER_USER].groups
    [USER_GROUPS_THAT_ALLOW_IMPERSONATION]
 

在oozie目录下conf/hadoop-conf下,修改core-site.xml文件,添加:
 
    yarn.resourcemanager.address
    localhost:8032
 

 
    yarn.resourcemanager.scheduler.address
    localhost:8030
 

3.在oozie主目录下创建libext文件夹,将extjs2.2.zip拷贝到libext下
If using a version of Hadoop bundled in Oozie hadooplibs/ , copy the corresponding Hadoop JARs
from hadooplibs/ to the libext/ directory.
If using a different version of Hadoop, copy the required Hadoop JARs from such version in the libext/ directory.
4.运行bin/oozie-setup.sh prepare-war,就这句命令就行,它会自动把libext目录下的所有包自动添加到目标的war包当中
5.运行bin/ooziedb.sh create -sqlfile oozie.sql -runValidate DB Connection
DONE
Check DB schema does not exist
DONE
Check OOZIE_SYS table does not exist
DONE
Create SQL schema
DONE
DONE
Create OOZIE_SYS table
DONE
Oozie DB has been created for Oozie version '3.2.0'
6.后台开启Oozie命令bin/oozied.sh start
7.前台开启Oozie命令bin/oozied.sh run
8.检查Ooize运行状态bin/oozie admin -oozie http://localhost:11000/oozie -status

你可能感兴趣的:(Oozie)