[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
             Fix For: 0.90.5


>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

        

Reply via email to