很少說,直接上乾貨!html
前期博客java
問題描述mysql
bin/oozie-setup.sh prepare-war
解決辦法web
[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]$
最後,仍是經過上面的這種方式,獲得解決。sql
我看到他人的博客文檔,也看過他人的視頻,同時官網的確也是這麼建議apache
bin/oozie-setup.sh prepare-war
可是,我安裝時,依然仍是沒法解決。真是奇怪。api
而後呢,你們也許還會出現以下問題:app