You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2011/01/07 21:37:46 UTC

[jira] Resolved: (AVRO-708) Repeated calls to Netty IPC service fail

     [ https://issues.apache.org/jira/browse/AVRO-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting resolved AVRO-708.
-------------------------------

      Resolution: Fixed
        Assignee: Stephen Gargan
    Hadoop Flags: [Reviewed]

I committed this.  Thanks, Stephen!

> Repeated calls to Netty IPC service fail
> ----------------------------------------
>
>                 Key: AVRO-708
>                 URL: https://issues.apache.org/jira/browse/AVRO-708
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.0
>            Reporter: Stephen Gargan
>            Assignee: Stephen Gargan
>            Priority: Minor
>             Fix For: 1.5.0
>
>         Attachments: AVRO-708.patch, netty-test.patch
>
>
> 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.     

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.