You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2012/07/04 02:35:34 UTC

[jira] [Updated] (HBASE-6319) ReplicationSource can call terminate on itself and deadlock

     [ https://issues.apache.org/jira/browse/HBASE-6319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans updated HBASE-6319:
--------------------------------------

    Attachment: HBASE-6319-0.92.patch

Patch that adds a check if the current thread is the one we're trying to stop and, if so, don't wait.
                
> ReplicationSource can call terminate on itself and deadlock
> -----------------------------------------------------------
>
>                 Key: HBASE-6319
>                 URL: https://issues.apache.org/jira/browse/HBASE-6319
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.6, 0.92.1, 0.94.0
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.90.7, 0.92.2, 0.94.2
>
>         Attachments: HBASE-6319-0.92.patch
>
>
> In a few places in the ReplicationSource code calls terminate on itself which is a problem since in terminate() we wait on that thread to die.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira