The properties files only vary based on the nature of the cluster. When Oozie accesses HDFS for running its workflow, it uses a workflow XML. For this purpose, Oozie supports HA clusters for HDFS using the nameservice. The workflow XML required for the execution of HA and non-HA clusters must be present in the oozie.wf.application path mentioned in the job.properties files present on the local node of the cluster.
-
Run job properties for HA clusters. For example:
oozie.use.system.libpath=True
send_email=False
dryrun=False
nameNode=hdfs://training-cluster
jobTracker=training-cluster-mn0.bmbdcsad1.bmbdcs.oraclevcn.com:8050
security_enabled=True
oozie.wf.application.path=hdfs://training-cluster/user/testUser/
-
Run job properties for non-HA clusters. For example:
oozie.use.system.libpath=True
send_email=False
dryrun=False
nameNode=hdfs://training-cluster-mn0.bmbdcsad1.bmbdcs.oraclevcn.com:8020
jobTracker=training-cluster-mn0.bmbdcsad1.bmbdcs.oraclevcn.com:8050
security_enabled=True
oozie.wf.application.path=hdfs://training-cluster-mn0.bmbdcsad1.bmbdcs.oraclevcn.com:8020/user/testUser/