Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.22.0
-
None
-
None
-
common ipc client
Description
Under current RPC client implementation, when Client.Connection.sendParam() encounters IOException it just marks the exception and wait receiveResponse() thread to handle the exception. However, receiveResponse() may block ipc.ping.interval on socket read().
This means that RPC client may wait ipc.ping.interval(typically 1 miniute) when exception in sendParam().
It maybe not so reasonable in some situation. For example using "hadoop fs -put " a small file, DFSClient.close() will interupt renewLease() thread and it may wait 1 minute.
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-6762 exception while doing RPC I/O closes channel
- Closed