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

NettyAvroRpcClient performs unnecessary hostname lookups

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 1.5.0.1
    • None
    • Client SDK
    • 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-1.patch
          2 kB
          Johny Rufus
        2. FLUME-2409-0.patch
          1 kB
          Roman Novachenko
        3. FLUME-2409.patch
          0.6 kB
          Johny Rufus

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jrufus Johny Rufus
            rnovachenko Roman Novachenko

            Dates

              Created:
              Updated:

              Slack

                Issue deployment