hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10337) HTable.get() uninteruptible
Date Tue, 04 Feb 2014 18:54:09 GMT

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

Ted Yu commented on HBASE-10337:
--------------------------------

{code}
+      if (curRetries >= maxRetries || ExceptionUtil.isInterrupt(ioe)) {
         throw ioe;
{code}
Can InterruptedIOException be thrown in case of interrupt ?

> 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
>
>
> 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)

Mime
View raw message