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/02/27 11:06:21 UTC

[jira] [Created] (HBASE-10629) Fix incorrect handling of IE that restores current thread's interrupt status within while/for loops

Feng Honghua created HBASE-10629:
------------------------------------

             Summary: 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: Client, master, 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)