Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2409

NettyAvroRpcClient performs unnecessary hostname lookups

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0.1
    • Fix Version/s: None
    • Component/s: Client SDK
    • Labels:
      None

      Description

      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.

        Attachments

        1. FLUME-2409.patch
          0.6 kB
          Johny Rufus
        2. FLUME-2409-0.patch
          1 kB
          Roman Novachenko
        3. FLUME-2409-1.patch
          2 kB
          Johny Rufus

          Activity

            People

            • Assignee:
              jrufus Johny Rufus
              Reporter:
              rnovachenko Roman Novachenko
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: