Thanks Shawn

Some how the hostname was added to the /etc/hosts file as 127.0.0.1
It is now deleted and it works fine. 

Kind regards 
Jens 

> Den 9. sep. 2021 kl. 13.41 skrev Shawn Weeks <swe...@weeksconsulting.us>:
> 
> Do you have nifi.cluster.node.address set to the hostname? I think that will 
> bypass the issue. The actual issue has to do with how the hostname is auto 
> detected, I think. Some things to check are that you have an appropriate 
> entry in /etc/hosts for your hostname pointing back to it’s IP and that you 
> don’t have an entry for the hostname pointing at 127.0.0.1.
>  
> Thanks
> Shawn
>  
> From: Jens M. Kofoed <jmkofoed....@gmail.com> 
> Sent: Thursday, September 9, 2021 5:53 AM
> To: users@nifi.apache.org
> Subject: ${hostname(true)} returns localhost
>  
> Hi
>  
> I'm using nifi 1.14.0 and have a single node cluster and a 3 node cluster. At 
> the single node cluster the ${hostname(true)} returns the FQDN but at my 3 
> node cluster it returns "localhost".
>  
> Any ideas why???
>  
> Kind regards
> Jens M. Kofoed

Reply via email to