hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Liochon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10337) HTable.get() uninteruptible
Date Wed, 05 Feb 2014 16:30:12 GMT

    [ 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,
>            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

View raw message