With an Oozie workflow, you must specify the JobTracker cluster in the workflow properties. This is easy when you have one JobTracker:
JobTracker = hostname: port
When the cluster is configured to work with HA (high availability) JobTracker, I need to configure my property files to be able to delete any of the JobTracker hosts without updating all my property files when JobTracker has failed to switch to the second node.
When accessing one JobTracker via http, it redirects to another if it is not running, but oozie does not use http, so there is no redirection, which leads to a workflow failure if the properties file specifies a task that is not running.
How can I configure my properties file to handle JobTracker running in HA?
source share