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

Allen Wittenauer resolved HADOOP-4853.
--------------------------------------

    Resolution: Incomplete

A lot of this has changed with the move to PB. Closing as stale.

> Improvement to IPC
> ------------------
>
>                 Key: HADOOP-4853
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4853
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 0.20.0
>            Reporter: Arun C Murthy
>            Assignee: Arun C Murthy
>
> I'd like to propose an improvement for consideration given my experience of 
> working on HADOOP-4348:
> Currently the first call doubles up as a 'connection setup' trigger. I'd like 
> to propose adding a new 'init' call which is always called by the clients for 
> connection setup. The advantages are:
> * We could fold in the getProtocolVersion call into the setup call, this 
> ensures that the Server always checks for protocol versions, regardless of 
> whether the (malicious?) client does an explicit call for getProtocolVersion 
> or not.
> * We could authorize the connection here.
> * We could add to check to ensure that the Server instance actually 
> implements the protocol used by the client to communicate, rather than fail 
> on the first IPC call
> The flip side being an extra round-trip.
> Lets discuss.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to