hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Leech (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10337) HTable.get() uninteruptible
Date Wed, 15 Jan 2014 00:33:23 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13871429#comment-13871429

Jonathan Leech commented on HBASE-10337:

If all it declares in .94 is IOException, you could catch InterruptedException and throw a
java.io.InterruptedIOException (which extends IOException and has been around since Java 1.0)

> 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.94.9
>            Reporter: Jonathan Leech
> 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