hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Liochon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10524) Correct wrong handling and add proper handling for swallowed InterruptedException thrown by Thread.sleep in regionserver
Date Thu, 13 Feb 2014 16:27:19 GMT

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

Nicolas Liochon commented on HBASE-10524:
-----------------------------------------

Agreed as well for SplitLogWorker. I would propose not to log the exception however. The existing
code was doing it, but it seems wrong. We should log when we receive the interruption, not
when we restore it.
(note: you should be able to 'submit' a patch, this will trigger a hadoop-qa run).

> Correct wrong handling and add proper handling for swallowed InterruptedException thrown
by Thread.sleep in regionserver
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-10524
>                 URL: https://issues.apache.org/jira/browse/HBASE-10524
>             Project: HBase
>          Issue Type: Sub-task
>          Components: regionserver
>            Reporter: Feng Honghua
>            Assignee: Feng Honghua
>         Attachments: HBASE-10524-trunk_v1.patch
>
>
> A sub-task of HBASE-10497
> # correct wrong handling of InterruptedException where Thread.currentThread.interrupt()
is called within while loops
> # add proper handling for swallowed InterruptedException



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

Mime
View raw message