Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CB102200AE1 for ; Mon, 6 Jun 2016 23:31:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C9AC1160A24; Mon, 6 Jun 2016 21:31:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 42D90160A1E for ; Mon, 6 Jun 2016 23:31:22 +0200 (CEST) Received: (qmail 41603 invoked by uid 500); 6 Jun 2016 21:31:21 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 41573 invoked by uid 99); 6 Jun 2016 21:31:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2016 21:31:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 27EDF2C1F6E for ; Mon, 6 Jun 2016 21:31:21 +0000 (UTC) Date: Mon, 6 Jun 2016 21:31:21 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-10468) HDFS read ends up ignoring an interrupt MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 06 Jun 2016 21:31:23 -0000 [ https://issues.apache.org/jira/browse/HDFS-10468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jing Zhao updated HDFS-10468: ----------------------------- Attachment: HDFS-10468.003.patch Thanks a lot for the review, [~iwasakims]. Yes, to change the log level to debug should be better here: the upper level application will get the exception anyway. Upload a new patch to address your comments. > HDFS read ends up ignoring an interrupt > --------------------------------------- > > Key: HDFS-10468 > URL: https://issues.apache.org/jira/browse/HDFS-10468 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Siddharth Seth > Assignee: Jing Zhao > Attachments: HDFS-10468.000.patch, HDFS-10468.001.patch, HDFS-10468.002.patch, HDFS-10468.003.patch, log > > > If an interrupt comes in during an HDFS read - it looks like HDFS ends up ignoring it (handling it), and retries the read after an interval. > An interrupt should result in the read being cancelled, with an InterruptedException being thrown. > Similarly - if an HDFS op is started with the interrupt status on the thread set, an InterruptedException should be thrown. > cc [~jingzhao] -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org