CDH版本的oozie安裝執行bin/oozie-setup.sh prepare-war,沒生成oozie.war?

 

 

  很少說,直接上乾貨!html

 

前期博客java

Oozie安裝部署

 

 

  問題描述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

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?

相關文章
相關標籤/搜索