Avro
  1. Avro
  2. AVRO-708

Repeated calls to Netty IPC service fail

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.0
    • Component/s: java
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      It seems there is an issue with the Netty ipc mechanism. It's closing it's connection after the first invocation and all subsequent invocations fail.

      The other IPC mechanisms store the negotiated protocol in the Tranceiver and use this to indicate if the connection should be maintained. The patch adds this functionality to the Netty Server; it now passes in a tranceiver for this purpose and only closes the connection if the 'isConnected' call after the response is false.

      The patch tweaks the tests a little too, adding a test for the number of handshakes and adding a repeated calls test to catch this in the future.

      1. AVRO-708.patch
        13 kB
        Doug Cutting
      2. netty-test.patch
        12 kB
        Stephen Gargan

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Stephen Gargan
            Reporter:
            Stephen Gargan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development