You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2017/11/27 16:51:00 UTC

[jira] [Created] (STORM-2833) Cached Netty Connections can have different keys for the same thing.

Robert Joseph Evans created STORM-2833:
------------------------------------------

             Summary: Cached Netty Connections can have different keys for the same thing.
                 Key: STORM-2833
                 URL: https://issues.apache.org/jira/browse/STORM-2833
             Project: Apache Storm
          Issue Type: Bug
          Components: storm-client
    Affects Versions: 1.0.0, 2.0.0
            Reporter: Robert Joseph Evans
            Assignee: Robert Joseph Evans


It turns out that if you set {{storm.local.hostname}} on your supervisors that the netty caching code might not work.  The issue is that when we go to add a netty connection to the cache we use the host name provided by the scheduling.  Which ultimately comes from the {{storm.local.hostname}} setting on each of the nodes.  But when we go to remove it from the cache, we use the resolved INetSocket address for the destination.  If the two do not match exactly then we can close a connection, but not have it removed from the cache, so when we go to try and use it again, the connection is closed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)