hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Antonov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11517) TestReplicaWithCluster turns zombie
Date Wed, 16 Jul 2014 02:56:05 GMT

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

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

Ah. MiniHBaseCluster#shutdown calls HConnectionManager.deleteAllConnections(false), which
deletes all connections known to connection manager (which holds them in static collection,
so it's shared across both miniclusters). 

I kind of recall having same sort of issue before in one of the tests, which created multiple
miniclusters within one test and shut down one of them at the end of test, before the next
test runs.

@stack so we can either change the test or, probably better, change MiniHBaseCluster#shutdown
to now kill all connections, but just those matching the configuration of this minicluster.
Going to try latter one tonight and make patch.

> 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)

Mime
View raw message