CHD-5.3.6集群上oozie安装
参考文档:http://archive.cloudera.com/cdh5/cdh/5/oozie-4.0.0-cdh5.3.6/DG_QuickStart.html
tar -zxvf oozie-hadooplibs-4.0.0-cdh5.3.6.tar.gz
cd /home/hadoop/CDH5.3.6/oozie-4.0.0-cdh5.3.6
mkdir libext/
cp * ./../../../libext/
cp ./../ext-2.2.zip libext/
bin/oozie-setup.sh prepare-war
bin/oozie-setup.sh sharelib create -fs hdfs://192.168.1.30:9000 -locallib oozie-sharelib-4.0.0-cdh5.3.6-yarn.tar.gz
[hadoop@master oozie-4.0.0-cdh5.3.6]$ bin/oozie-setup.sh sharelib create -fs hdfs://192.168.1.30:9000 -locallib oozie-sharelib-4.0.0-cdh5.3.6-yarn.tar.gz setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m" log4j:WARN No appenders could be found for logger (org.apache.hadoop.util.Shell). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/hadoop/CDH5.3.6/oozie-4.0.0-cdh5.3.6/libtools/slf4j-simple-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/hadoop/CDH5.3.6/oozie-4.0.0-cdh5.3.6/libtools/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/hadoop/CDH5.3.6/oozie-4.0.0-cdh5.3.6/libext/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory] the destination path for sharelib is: /user/hadoop/share/lib/lib_20190627105026
bin/ooziedb.sh create -sqlfile oozie.sql -run DB Connection
修改oozie-site.xml第233行
<value>*=/home/hadoop/CDH5.3.6/hadoop-2.5.0-cdh5.3.6/etc/hadoop</value>
bin/oozied.sh start
查看日志:
/home/hadoop/CDH5.3.6/oozie-4.0.0-cdh5.3.6/logs/oozie.log
前台页面:
http://192.168.1.30:11000/oozie/
天下难事,必作于易;天下大事,必作于细