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

Todd Lipcon updated HADOOP-7346:
--------------------------------

    Attachment: hadoop-7346.txt

I manually tested this patch using an 0.18.3 client, 0.20.0 client, and CDH3 
client (which has the same IPC stack as 0.20.20x series)

I also looped an old client for a few minutes hitting the new server, then took 
a jstack on the new server, to make sure there weren't any thread leaks.

Unfortunately it's not easy to automatically test it since we can't load old 
versions of the IPC clients within the context of a unit test.

> Send back nicer error to clients using outdated IPC version
> -----------------------------------------------------------
>
>                 Key: HADOOP-7346
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7346
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7346.txt
>
>
> When an older Hadoop version tries to contact a newer Hadoop version across 
> an IPC protocol version bump, the client currently just gets a non-useful 
> error message like "EOFException".
> Instead, the IPC server code can speak just enough of prior IPC protocols to 
> send back a "fatal" message indicating the version mismatch.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to