Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Nifi remote process group RAW transport: Can nifi.remote.input.host be set to multiple values?

avatar

Hi guys, Im trying to set up site to site communication using RAW transport, can the nifi.remote.input.host property be set to multiple values i.e a comma seperated list? If not, is there any other way to specify multiple hosts for RAW communication?

Thanks in advance!

1 ACCEPTED SOLUTION

avatar
Master Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
4 REPLIES 4

avatar
Master Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Super Mentor

@philip carey

-

Ambari has built in variables for server hostnames. So in NiFi configs within Ambari you would configure the property as follows:

79384-screen-shot-2018-07-03-at-85032-am.png

The above will set the hostname properly to the correct unique hostname in the nifi.properties file on each NiFi node.

-

The hostname used should always be for a hostname assigned to the server where NiFi is running.

-

Thanks,

Matt

-

*** Forum tip: Please try to avoid responding to an Answer by starting a new answer. Instead use the "add comment" to respond to en existing answer. There is no guaranteed order to different answers which can make following a response thread difficult especially when multiple people are trying to assist you.

avatar

perfect, thanks guys!

avatar

So setting the value for cluster #2, node1 nifi.remote.input.host = node1.hostname, node2 nifi.remote.input.host = node2.hostname etc.. or would it be node1 nifi.remote.input.host = node1.hostname, node2 nifi.remote.input.host = node1.hostname? If its the first case, how do you set this from Ambari UI, as doing so locally gets overwritten by Ambari on Nifi restart

Thanks for your time