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 2011/09/16 00:42:10 UTC

[jira] [Resolved] (HBASE-4390) [replication] ReplicationSource's UncaughtExceptionHandler shouldn't join

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

Jean-Daniel Cryans resolved HBASE-4390.
---------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

Committed to branch and trunk.

> [replication] ReplicationSource's UncaughtExceptionHandler shouldn't join
> -------------------------------------------------------------------------
>
>                 Key: HBASE-4390
>                 URL: https://issues.apache.org/jira/browse/HBASE-4390
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.4
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.90.5
>
>         Attachments: HBASE-4390-0.90.patch
>
>
> From Jeff Whiting on the ML:
> {quote}
> "regionserver60020.replicationSource,dev2" daemon prio=10 tid=0x00002aaaf0312800 nid=0x69f8 in Object.wait() [0x000000004533e000]
>   java.lang.Thread.State: TIMED_WAITING (on object monitor)
>    at java.lang.Object.wait(Native Method)
>    - waiting on <0x00002aaab12464c0> (a org.apache.hadoop.hbase.replication.regionserver.ReplicationSource)
>    at java.lang.Thread.join(Thread.java:1151)
>    - locked <0x00002aaab12464c0> (a org.apache.hadoop.hbase.replication.regionserver.ReplicationSource)
>    at org.apache.hadoop.hbase.util.Threads.shutdown(Threads.java:91)
>    at org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.terminate(ReplicationSource.java:649)
>    at org.apache.hadoop.hbase.replication.regionserver.ReplicationSource$1.uncaughtException(ReplicationSource.java:628)
>    at java.lang.Thread.dispatchUncaughtException(Thread.java:1831)
> {quote}
> That's pretty dumb, the thread is trying to join itself. UncaughtExceptionHandler shouldn't try to terminate() but just clear resources and then return.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira