6.上传到liunx上 解压到/opt/module下 7. Cd bin进行编译 命令是:./mkdistro.sh -Phadoop-2 -DskipTests 8.ping repository.cloudera.com得到ip地址,写到/etc/hosts文件里。 9.在/opt/oozie-4.3.0/distro/target目录下找到tar包oozie-4.3.0-distro.tar.gz 解压后,得到/opt/oozie/oozie-4.3.0。 10.修改环境变量 vim /etc/profile,加入OOZIE_HOME这个环境变量,并在PATH中加入$OOZIE_HOME/bin,保存退出,然后执行source /etc/profile 修改oozie-4.3.0/conf的配置文件,添加如下
oozie.service.JPAService.jdbc.driver com.mysql.jdbc.Driver JDBC driver class. oozie.service.JPAService.jdbc.url jdbc:mysql://192.168.127.11:3306/oozie JDBC URL. oozie.service.JPAService.jdbc.username root DB user name. oozie.service.JPAService.jdbc.password 123456 DB user password. IMPORTANT: if password is emtpy leave a 1 space string, the service trims the value, if empty Configuration assumes it is NULL.
oozie.service.HadoopAccessorService.hadoop.configurations *=/opt/hadoop-2.6.0/etc/hadoop Comma separated AUTHORITY=HADOOP_CONF_DIR, where AUTHORITY is the HOST:PORT of the Hadoop service (JobTracker, YARN, HDFS). The wildcard '*' configuration is used when there is no exact match for an authority. The HADOOP_CONF_DIR contains the relevant Hadoop *-site.xml files. If the path is relative is looked within the Oozie configuration directory; though the path can be absolute (i.e. to point to Hadoop client conf/ directories in the local filesystem.
oozie.service.SparkConfigurationService.spark.configurations *=/opt/spark-1.4.0-bin-hadoop2.6-hive/conf Comma separated AUTHORITY=SPARK_CONF_DIR, where AUTHORITY is the HOST:PORT of the ResourceManager of a YARN cluster. The wildcard '*' configuration is used when there is no exact match for an authority. The SPARK_CONF_DIR contains the relevant spark-defaults.conf properties file. If the path is relative is looked within the Oozie configuration directory; though the path can be absolute. This is only used when the Spark master is set to either "yarn-client" or "yarn-cluster".
oozie.service.WorkflowAppService.system.libpath hdfs://ns1/user/${user.name}/share/lib System library path to use for workflow applications. This path is added to workflow application if their job properties sets the property 'oozie.use.system.libpath' to true.