You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Roman Novachenko (JIRA)" <ji...@apache.org> on 2014/06/20 17:52:25 UTC

[jira] [Created] (FLUME-2409) NettyAvroRpcClient performs unnecessary hostname lookups

Roman Novachenko created FLUME-2409:
---------------------------------------

             Summary: NettyAvroRpcClient performs unnecessary hostname lookups
                 Key: FLUME-2409
                 URL: https://issues.apache.org/jira/browse/FLUME-2409
             Project: Flume
          Issue Type: Bug
          Components: Client SDK
            Reporter: Roman Novachenko
            Priority: Minor


When NettyAvroRpcClient works with a host that has only an IP address associated with it but no hostname, some operations take too long (a few seconds vs expected millis). This affects most of exceptions throwing and a part of logging.
This happens because of the unnecessary and expensive hostname lookup when converting NettyAvroRpcClient to String.



--
This message was sent by Atlassian JIRA
(v6.2#6252)