Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8A1FBE7B4 for ; Fri, 11 Jan 2013 08:24:16 +0000 (UTC) Received: (qmail 72091 invoked by uid 500); 11 Jan 2013 08:24:15 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 71502 invoked by uid 500); 11 Jan 2013 08:24:14 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 71452 invoked by uid 99); 11 Jan 2013 08:24:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 08:24:13 +0000 Date: Fri, 11 Jan 2013 08:24:12 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-4388) DomainSocket should throw AsynchronousCloseException when appropriate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Colin Patrick McCabe created HDFS-4388: ------------------------------------------ Summary: 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 {{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