Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A32E01172D for ; Thu, 20 Feb 2014 15:20:23 +0000 (UTC) Received: (qmail 6154 invoked by uid 500); 20 Feb 2014 15:20:22 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 6090 invoked by uid 500); 20 Feb 2014 15:20:21 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 6069 invoked by uid 99); 20 Feb 2014 15:20:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Feb 2014 15:20:20 +0000 Date: Thu, 20 Feb 2014 15:20:20 +0000 (UTC) From: "Nicolas Liochon (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-10497) Correct wrong handling and add proper handling for swallowed InterruptedException thrown by Thread.sleep under HBase-Client/HBase-Server folders systematically MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-10497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907062#comment-13907062 ] Nicolas Liochon commented on HBASE-10497: ----------------------------------------- They are all committed to trunk now. Thanks for your time! > Correct wrong handling and add proper handling for swallowed InterruptedException thrown by Thread.sleep under HBase-Client/HBase-Server folders systematically > --------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HBASE-10497 > URL: https://issues.apache.org/jira/browse/HBASE-10497 > Project: HBase > Issue Type: Bug > Components: Client, regionserver > Reporter: Feng Honghua > Assignee: Feng Honghua > Attachments: HBASE-10497-trunk_v1.patch, HBASE-10497-trunk_v2.patch > > > There are two kinds of handling problems for InterruptedException thrown by Thread.sleep in many places under HBase-Client/HBase-Server folders: > # Thread.currentThread.interrupt() is called within 'while' loops which can result in buggy behaviors such as expected sleep doesn't occur due to restored interrupt status by former loop > # InterruptedException thrown by Thread.sleep are swallowed silently (which are neither declared in the caller method's throws clause nor rethrown immediately) -- This message was sent by Atlassian JIRA (v6.1.5#6160)