You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Feng Honghua (JIRA)" <ji...@apache.org> on 2014/03/02 13:37:19 UTC
[jira] [Updated] (HBASE-10629) Fix incorrect handling of IE that
restores current thread's interrupt status within while/for loops
[ https://issues.apache.org/jira/browse/HBASE-10629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Feng Honghua updated HBASE-10629:
---------------------------------
Component/s: (was: master)
(was: Client)
> Fix incorrect handling of IE that restores current thread's interrupt status within while/for loops
> ---------------------------------------------------------------------------------------------------
>
> Key: HBASE-10629
> URL: https://issues.apache.org/jira/browse/HBASE-10629
> Project: HBase
> Issue Type: Bug
> Components: regionserver, Replication
> Reporter: Feng Honghua
> Assignee: Feng Honghua
>
> There are about three kinds of typical incorrect handling of IE thrown during sleep() in current code base:
> # Shadow it totally -- Has been fixed by HBASE-10497
> # Restore current thread's interrupt status implicitly within while/for loops (Threads.sleep() being called within while/for loops) -- Has been fixed by HBASE-10516
> # Restore current thread's interrupt status explicitly within while/for loops (directly interrupt current thread within while/for loops)
> There are still places with the last kind of handling error, and as HBASE-10497/HBASE-10516, the last kind of errors should be fixed according to their real scenarios case by case. This is created to serve as a parent jira to fix the last kind errors in a systematic manner
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)