不多说,直接上干货!
前期博客
问题描述
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
但是,我安装时,依然还是无法解决。真是奇怪。
然后呢,大家也许还会出现如下问题:
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系我们删除。