hi,all I took a look at the source code of org.apache.hadoop.ipc.Client ,and i wonder if there are two client thread invoke the getConnection() specifing the same arguments,then they will get a same Connection object,how could they distinguish the results from each other? I noticed the results streamed back from the server is collected by the Connection's thread,not the callers' threads, and the Connection's thread expects reaults :callId_XX,reaultBody_XX. Is there a situation in which Connection's result thread collects callId_by_threadA,reaultBody_by_threadB,callId_by_threadB,resultBody_by_threadA?I think this situation is kind of reasonable,how does the current code handle this?
heyongqiang [EMAIL PROTECTED] 2008-05-22
