You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Feng Honghua (JIRA)" <ji...@apache.org> on 2014/02/11 10:53:19 UTC

[jira] [Created] (HBASE-10497) Add according handling for swallowed InterruptedException thrown by Thread.sleep under HBase-Client/HBase-Server folders systematically

Feng Honghua created HBASE-10497:
------------------------------------

             Summary: Add according handling for swallowed InterruptedException thrown by Thread.sleep under HBase-Client/HBase-Server folders systematically
                 Key: HBASE-10497
                 URL: https://issues.apache.org/jira/browse/HBASE-10497
             Project: HBase
          Issue Type: Improvement
          Components: Client, regionserver
            Reporter: Feng Honghua
            Assignee: Feng Honghua
            Priority: Minor


There are many places where InterruptedException thrown by Thread.sleep are swallowed silently (which are neither declared in the caller method's throws clause nor rethrown immediately) under HBase-Client/HBase-Server folders.
It'd be better to add standard 'log and call currentThread.interrupt' for such cases.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)