Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

How to bind host for oozie service in a Multihome environment

avatar
Super Collaborator
 
1 ACCEPTED SOLUTION

avatar

Are you looking to restrict the network traffic to a specific interface or make Oozie UI listen on multiple IP addresses assigned to the same server?

If the former, this documentation should help. It suggests to set a configuration property: oozie.http.hostname or ENV variable: OOZIE_HTTP_HOSTNAME

View solution in original post

3 REPLIES 3

avatar

Are you looking to restrict the network traffic to a specific interface or make Oozie UI listen on multiple IP addresses assigned to the same server?

If the former, this documentation should help. It suggests to set a configuration property: oozie.http.hostname or ENV variable: OOZIE_HTTP_HOSTNAME

avatar
Super Collaborator

Hi Vladimir, I am trying bind Oozie on specific IP.

Upon updating "OOZIE_HTTP_HOSTNAME", and restarting Oozie, I do not see Oozie bind to specific ip.

netstat -pltn | grep 11000

tcp 0 0 0.0.0.0:11000 0.0.0.0:* LISTEN 22072/java

avatar

I don't see a supported, permanent way of doing this in Oozie. If you want to make a temporary change, you can configure Tomcat to run on a specific IP address. I made a change to /usr/hdp/2.3.0.0-2557/etc/oozie/tomcat-deployment.http/conf/server.xml and added address="#.#.#.#" to <Connector /> to get this to work. Source documentation