David A. Wynne created NIFI-1734:
------------------------------------
Summary: Confusing warning thrown when DNS issues occur on a
system with a NCM running
Key: NIFI-1734
URL: https://issues.apache.org/jira/browse/NIFI-1734
Project: Apache NiFi
Issue Type: Bug
Reporter: David A. Wynne
Priority: Minor
If a system with a NiFi NCM instance running has a DNS issue, the first error
message thrown is correct, but the subsequent warning message lead the user to
believe it is a firewall issue, thus confusing the user and leading to an
inaccurate assessment of the issue.
First error when DNS issue occurs:
2016-04-05 14:07:46,488 ERROR [Process Pending Heartbeats]
o.a.n.c.manager.impl.WebClusterManager Failed to process heartbeat from
i-81556e02.dev.aws.lifelock.ad:8081 due to
org.apache.nifi.cluster.protocol.ProtocolException: Failed to create socket due
to: java.net.UnknownHostException: i-81556e02.dev.aws.lifelock.ad
The next warning thrown:
2016-04-05 14:07:46,488 WARN [Heartbeat Monitor]
o.a.n.c.f.i.FileBasedClusterNodeFirewall Blocking unknown host
'i-81556e02.dev.aws.lifelock.ad'
java.net.UnknownHostException: i-81556e02.dev.aws.lifelock.ad
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)