hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4388) DomainSocket should throw AsynchronousCloseException when appropriate
Date Sat, 12 Jan 2013 00:10:12 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13551685#comment-13551685
] 

Todd Lipcon commented on HDFS-4388:
-----------------------------------

+1, looks like a good fix.
                
> DomainSocket should throw AsynchronousCloseException when appropriate
> ---------------------------------------------------------------------
>
>                 Key: HDFS-4388
>                 URL: https://issues.apache.org/jira/browse/HDFS-4388
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Trivial
>         Attachments: _05a.patch
>
>
> {{DomainSocket}} should throw {{AsynchronousCloseException}} when appropriate (i.e.,
when an {{accept}} or other blocking operation is interrupted by a concurrent close.)  This
is nicer than throwing a generic {{IOException}} or {{SocketException}}.
> Similarly, we should well throw {{ClosedChannelException}} when an operation is attempted
on a closed {{DomainSocket}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message