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 5A61010840 for ; Wed, 5 Feb 2014 16:30:14 +0000 (UTC) Received: (qmail 1619 invoked by uid 500); 5 Feb 2014 16:30:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 1570 invoked by uid 500); 5 Feb 2014 16:30:12 -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 1558 invoked by uid 99); 5 Feb 2014 16:30:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 16:30:12 +0000 Date: Wed, 5 Feb 2014 16:30:12 +0000 (UTC) From: "Nicolas Liochon (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-10337) HTable.get() uninteruptible 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-10337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13892276#comment-13892276 ] Nicolas Liochon commented on HBASE-10337: ----------------------------------------- bq. The IE is not added to a public API though? Yeah, it's always hidden behind the IOException. The JDK (1.7 at least) does like this: the exception is never declared explicitly. This seems to be the most common pattern, even if it's questionable... > HTable.get() uninteruptible > --------------------------- > > Key: HBASE-10337 > URL: https://issues.apache.org/jira/browse/HBASE-10337 > Project: HBase > Issue Type: Bug > Components: Client > Affects Versions: 0.98.0, 0.94.9, 0.99.0, 0.96.1.1 > Reporter: Jonathan Leech > Assignee: Nicolas Liochon > Fix For: 0.98.0, 0.99.0 > > Attachments: 10337.v1.patch, 10337.v2.patch > > > I've got a stuck thread on HTable.get() that can't be interrupted, looks like its designed to be interruptible but can't be in interrupted in practice due to while loop. > The offending code is in org.apache.hadoop.hbase.ipc.HBaseClient.call() line 981, it catches InterruptedException then goes right back to waiting due to the while loop. > It looks like future versions of the client (.95+) are significantly different and might not have this problem... Not sure about release schedules etc. or if this version is still getting patched. -- This message was sent by Atlassian JIRA (v6.1.5#6160)