Adding an Oozie Server Component
Steps
In Ambari Web, browse to the host on which you want to install another Oozie Server.
On the Host page, click the +Add button.
Click Oozie Server from the list.
Ambari installs the new Oozie Server.
Configure your external load balancer and then update the Oozie configuration.
Browse to Services > Oozie > Configs.
In
oozie-site
, add the following property values:- oozie.zookeeper.connection.string
List of ZooKeeper hosts with ports: for example,
c6401.ambari.apache.org:2181,
c6402.ambari.apache.org:2181,
c6403.ambari.apache.org:2181
- oozie.services.ext
org.apache.oozie.service.ZKLocksService,
org.apache.oozie.service.ZKXLogStreamingService,
org.apache.oozie.service.ZKJobsConcurrencyService
- oozie.base.url
http://<Cloadbalancer.hostname>:11000/oozie
In oozie-env, uncomment the oozie_base_url property and change its value to point to the load balancer:
export oozie_base_url="http://<loadbalance.hostname>:11000/oozie"
Restart Oozie.
Update the HDFS configuration properties for the Oozie proxy user:
Browse to Services > HDFS > Configs.
In
core-site
, update the hadoop.proxyuser.oozie.hosts property to include the newly added Oozie Server host.Use commas to separate multiple host names.
Restart services.
Next Steps
Review and confirm all recommended configuration changes.
More Information