[
https://issues.apache.org/jira/browse/HADOOP-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630416#action_12630416
]
Hairong Kuang commented on HADOOP-4062:
---------------------------------------
I removed the atomic reference on out because this patch does not set "out" to
be null when a connection is closed. So there will not be NPE.
> IPC client does not need to be synchronized on the output stream when a
> connection is closed
> --------------------------------------------------------------------------------------------
>
> Key: HADOOP-4062
> URL: https://issues.apache.org/jira/browse/HADOOP-4062
> Project: Hadoop Core
> Issue Type: Improvement
> Components: ipc
> Affects Versions: 0.18.0
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Fix For: 0.19.0
>
> Attachments: closeSync.patch
>
>
> Currently when a connection on the client side is closed, the close method is
> synchronized on the output stream. The synchronization is not necessary and
> has introduced a side effect that the socket can not be closed immediately
> when meanwhile applications are sending large requests.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.