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

Mikhail Antonov commented on HBASE-11517:
-----------------------------------------

So..if i comment out the last line in testReplicaAndReplication() test, which 
is HTU2.shutdownMiniCluster();, test works fine. Seems like something's wrong 
with the way we share hconnections in local hbase cluster - when we shutdown 
minicluster2, short circuit connection in master running in minicluster1 is 
also closed.

Also everything works and test passes if I do start/stop minicluster1 before 
and after each test. Something wrong with connection sharing.

> TestReplicaWithCluster turns zombie
> -----------------------------------
>
>                 Key: HBASE-11517
>                 URL: https://issues.apache.org/jira/browse/HBASE-11517
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: stack
>         Attachments: 10930v4.txt, 11517.timeouts.txt
>
>
> Happened a few times for me fixing unrelated findbugs.  Here is example: 
> https://builds.apache.org/job/PreCommit-HBASE-Build/10065//consoleFull  See 
> how it is hanging creating a table:
> "pool-1-thread-1" prio=10 tid=0x00007f1714657000 nid=0x4b7f waiting on 
> condition [0x00007f16e9f80000]
>    java.lang.Thread.State: TIMED_WAITING (sleeping)
>       at java.lang.Thread.sleep(Native Method)
>       at 
> org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:539)
>       at 
> org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:424)
>       at 
> org.apache.hadoop.hbase.HBaseTestingUtility.createTable(HBaseTestingUtility.java:1185)
>       at 
> org.apache.hadoop.hbase.client.TestReplicaWithCluster.testCreateDeleteTable(TestReplicaWithCluster.java:138)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to