CDH版本的oozie安装执行bin/oozie-setup.sh prepare-war,没生成oozie.war?


 

 

  不多说,直接上干货!

 

前期博客

Oozie安装部署

 

 

  问题描述

bin/oozie-setup.sh prepare-war

 

 

 

 

 

 

 

 

 

 

解决办法

[hadoop@bigdatamaster bin]$ pwd
/home/hadoop/app/oozie-4.1.0-cdh5.5.4/bin

[hadoop@bigdatamaster bin]$ .
/addtowar.sh -inputwar $OOZIE_HOME/oozie.war -outputwar $OOZIE_HOME/oozie-server/webapps/oozie.war -hadoop 5.5.4 $HADOOP_HOME -extjs $OOZIE_HOME/libext/ext-2.2.zip

Exiting: Unsupported Hadoop version
'', supported versions: 0.20.1, 0.20.2, 0.20.104, 0.20.200, 0.23.x and 2.x

[hadoop@bigdatamaster bin]$ .
/addtowar.sh -inputwar $OOZIE_HOME/oozie.war -outputwar $OOZIE_HOME/oozie-server/webapps/oozie.war -hadoop 2.6.0 $HADOOP_HOME -extjs $OOZIE_HOME/libext/ext-2.2.zip
Injecting following Hadoop JARs

/home/hadoop/app/hadoop/share/hadoop/mapreduce2/hadoop-mapreduce-client-core-2.6.0-cdh5.5.4.jar
/home/hadoop/app/hadoop/share/hadoop/mapreduce2/hadoop-mapreduce-client-common-2.6.0-cdh5.5.4.jar
/home/hadoop/app/hadoop/share/hadoop/mapreduce2/hadoop-mapreduce-client-jobclient-2.6.0-cdh5.5.4.jar
/home/hadoop/app/hadoop/share/hadoop/mapreduce2/hadoop-mapreduce-client-app-2.6.0-cdh5.5.4.jar
/home/hadoop/app/hadoop/share/hadoop/yarn/hadoop-yarn-common-2.6.0-cdh5.5.4.jar
/home/hadoop/app/hadoop/share/hadoop/yarn/hadoop-yarn-api-2.6.0-cdh5.5.4.jar
/home/hadoop/app/hadoop/share/hadoop/yarn/hadoop-yarn-client-2.6.0-cdh5.5.4.jar
/home/hadoop/app/hadoop/share/hadoop/mapreduce1/lib/hadoop-hdfs-2.6.0-cdh5.5.4.jar
/home/hadoop/app/hadoop/share/hadoop/common/hadoop-common-2.6.0-cdh5.5.4.jar
/home/hadoop/app/hadoop/share/hadoop/common/lib/hadoop-auth-2.6.0-cdh5.5.4.jar
/home/hadoop/app/hadoop/share/hadoop/common/lib/guava-11.0.2.jar
/home/hadoop/app/hadoop/share/hadoop/common/lib/protobuf-java-2.5.0.jar
/home/hadoop/app/hadoop/share/hadoop/common/lib/jackson-core-asl-1.8.8.jar
/home/hadoop/app/hadoop/share/hadoop/common/lib/jackson-mapper-asl-1.8.8.jar
/home/hadoop/app/hadoop/share/hadoop/common/lib/commons-configuration-1.6.jar
/home/hadoop/app/hadoop/share/hadoop/common/lib/commons-cli-1.2.jar
/home/hadoop/app/hadoop/share/hadoop/common/lib/commons-io-2.4.jar

New Oozie WAR file with added
'Hadoop JARs, ExtJS library' at /home/hadoop/app/oozie/oozie-server/webapps/oozie.war

[hadoop@bigdatamaster bin]$

 

   最后,还是通过上面的这种方式,得到解决。

   我看到他人的博客文档,也看过他人的视频,同时官网的确也是这么建议

bin/oozie-setup.sh prepare-war

  但是,我安装时,依然还是无法解决。真是奇怪。

 

 

 

 

 

 

 

然后呢,大家也许还会出现如下问题:

Oozie安装时放置Mysql驱动包的总结(网上最全)

 

Oozie时出现org.apache.oozie.service.ServiceException: E0103: Could not load service classes, Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

 

Oozie时bin/oozied.sh start或bin/oozied.sh run出现Bootstrap进程无法启动,http://bigdatamaster:11000/oozie界面也无法打开?E0103: Could not load service classes,

java.lang.ClassNotFoundException: Class org.apache.oozie.ser

 

Oozie时bin/oozied.sh start或bin/oozied.sh run出现Bootstrap进程无法启动,http://bigdatamaster:11000/oozie界面也无法打开?

 

Oozie时出现Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure?

 

Oozie时出现Exception in thread "main" java.lang.UnsupportedClassVersionError: com/mysql/jdbc/Driver : Unsupported major.minor version 52.0?

 

CDH版本的oozie安装执行bin/oozie-setup.sh prepare-war,没生成oozie.war?

智能推荐

注意!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系我们删除。



 
© 2014-2019 ITdaan.com 粤ICP备14056181号  

赞助商广告