[
https://issues.apache.org/jira/browse/NIFI-16618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated NIFI-16618:
------------------------------------
Priority: Minor (was: Major)
> Avoid reverse DNS lookups in cluster protocol listener
> ------------------------------------------------------
>
> Key: NIFI-16618
> URL: https://issues.apache.org/jira/browse/NIFI-16618
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 2.12.0, 2.13.0
> Reporter: Jim Halfpenny
> Assignee: Jim Halfpenny
> Priority: Minor
> Fix For: 2.14.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> {{SocketProtocolListener.dispatchRequest()}} calls
> {{socket.getInetAddress().getHostName()}} for every inbound cluster protocol
> connection before reading the request. For an accepted socket this performs a
> reverse DNS (PTR) lookup. The result is only used in log messages.
> When PTR lookups are slow, every protocol message waits for the resolver
> timeout before processing starts. This includes heartbeats to the Cluster
> Coordinator. The JVM caches negative lookups for 10 seconds by default, so
> the delay recurs after this period. If heartbeat processing falls behind for
> long enough, nodes are disconnected for missed heartbeats.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)