<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: What is the Hostname when using Apache NiFi in Cloudera for ListenHTTP/HandleHTTPRequest processors? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-Hostname-when-using-Apache-NiFi-in-Cloudera-for/m-p/390371#M247256</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111561"&gt;@carlosst&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;With a NiFi cluster, each node runs its ow copy of the flow.json.gz into memory on startup.&lt;BR /&gt;As such processors like listeners will when started create a listener on each node.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;http://{NiFi node hostname}:{port}/contentListener&lt;/LI-CODE&gt;&lt;P&gt;There is no property to set&amp;nbsp; the hostname as NiFi uses the hostname unique to each NiFi node here.&amp;nbsp; All you configure is the port (must be an unused, non-privileged (&amp;gt;1024) ) and Base path (default set to "contentListener").&lt;BR /&gt;&lt;BR /&gt;So any requests received by the listener on a specific node will be processed by that specific node unless you programmatically via your flow redistributed those requests to other nodes via load balanced configured connection.&lt;BR /&gt;&lt;BR /&gt;What is commonly done here is to have an external load-balancer in front of your NiFi cluster that handles distributing requests across all your listeners running on the different cluster nodes.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; when using an external load-balancer in front of NiFi's UI URL, you must configured session affinity (sticky sessions) in that load balancer.&amp;nbsp; This is not necessary if you are only using the external LB for endpoints like listener since those end points do not use token based authentication)&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jul 2024 15:53:01 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2024-07-15T15:53:01Z</dc:date>
    <item>
      <title>What is the Hostname when using Apache NiFi in Cloudera for ListenHTTP/HandleHTTPRequest processors?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-Hostname-when-using-Apache-NiFi-in-Cloudera-for/m-p/390187#M247226</link>
      <description>&lt;P&gt;Hi! I am new in using Apache NiFi in Cloudera DataFlow. I am using NiFi 1.25.0.&lt;/P&gt;&lt;P&gt;I made a flow in local that listens to port 80 for HTTP requests and the hostname was ofc localhost but when trying to replicate it in Cloudera I don't know what hostname I have to use. Some say it is one of the nodes that the cluster has but my cluster have 4 nodes (which one to use?).&lt;/P&gt;&lt;P&gt;Is there a way to know what hostname I have to use to be able to reach the endpoint hosted in Cloudera by using Postman from my PC? Do I have to make some cluster/port forwarding/network configuration?&lt;/P&gt;&lt;P&gt;Thank you guys!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 06:28:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-Hostname-when-using-Apache-NiFi-in-Cloudera-for/m-p/390187#M247226</guid>
      <dc:creator>carlosst</dc:creator>
      <dc:date>2026-04-21T06:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: What is the Hostname when using Apache NiFi in Cloudera for ListenHTTP/HandleHTTPRequest processors?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-Hostname-when-using-Apache-NiFi-in-Cloudera-for/m-p/390200#M247227</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111561"&gt;@carlosst&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 02:08:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-Hostname-when-using-Apache-NiFi-in-Cloudera-for/m-p/390200#M247227</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-07-12T02:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: What is the Hostname when using Apache NiFi in Cloudera for ListenHTTP/HandleHTTPRequest processors?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-Hostname-when-using-Apache-NiFi-in-Cloudera-for/m-p/390217#M247230</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I dont think there is hostname property under ListenHttp and if there was at some point it probably got removed later on.&amp;nbsp; Regarding the hostname under HandleHttpRequest, its basically to specify which node you would like to receive the request on in case of cluster. If you specify certain node it will only allow connection to that node only however if you leave it empty&amp;nbsp; as the description says it will bind to all which mean you can send request using any node host name.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 10:59:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-Hostname-when-using-Apache-NiFi-in-Cloudera-for/m-p/390217#M247230</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2024-07-12T10:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: What is the Hostname when using Apache NiFi in Cloudera for ListenHTTP/HandleHTTPRequest processors?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-Hostname-when-using-Apache-NiFi-in-Cloudera-for/m-p/390371#M247256</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111561"&gt;@carlosst&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;With a NiFi cluster, each node runs its ow copy of the flow.json.gz into memory on startup.&lt;BR /&gt;As such processors like listeners will when started create a listener on each node.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;http://{NiFi node hostname}:{port}/contentListener&lt;/LI-CODE&gt;&lt;P&gt;There is no property to set&amp;nbsp; the hostname as NiFi uses the hostname unique to each NiFi node here.&amp;nbsp; All you configure is the port (must be an unused, non-privileged (&amp;gt;1024) ) and Base path (default set to "contentListener").&lt;BR /&gt;&lt;BR /&gt;So any requests received by the listener on a specific node will be processed by that specific node unless you programmatically via your flow redistributed those requests to other nodes via load balanced configured connection.&lt;BR /&gt;&lt;BR /&gt;What is commonly done here is to have an external load-balancer in front of your NiFi cluster that handles distributing requests across all your listeners running on the different cluster nodes.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; when using an external load-balancer in front of NiFi's UI URL, you must configured session affinity (sticky sessions) in that load balancer.&amp;nbsp; This is not necessary if you are only using the external LB for endpoints like listener since those end points do not use token based authentication)&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 15:53:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-Hostname-when-using-Apache-NiFi-in-Cloudera-for/m-p/390371#M247256</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-07-15T15:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: What is the Hostname when using Apache NiFi in Cloudera for ListenHTTP/HandleHTTPRequest processors?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-Hostname-when-using-Apache-NiFi-in-Cloudera-for/m-p/390573#M247302</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111561"&gt;@carlosst&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 18:31:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-Hostname-when-using-Apache-NiFi-in-Cloudera-for/m-p/390573#M247302</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-07-18T18:31:37Z</dc:date>
    </item>
  </channel>
</rss>

