You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Gary Helmling (JIRA)" <ji...@apache.org> on 2011/09/23 21:45:27 UTC

[jira] [Updated] (HBASE-4472) MiniHBaseCluster.shutdown() doesn't work if no active master

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

Gary Helmling updated HBASE-4472:
---------------------------------

    Attachment: HBASE-4472.patch

Adds an explicit call to HRegionServer.stop() in JVMClusterUtil.shutdown().

> MiniHBaseCluster.shutdown() doesn't work if no active master
> ------------------------------------------------------------
>
>                 Key: HBASE-4472
>                 URL: https://issues.apache.org/jira/browse/HBASE-4472
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Gary Helmling
>         Attachments: HBASE-4472.patch
>
>
> Running tests over in HBASE-4014 brought up this issue.  If the active master in a MiniHBaseCluster has aborted, then calling MiniHBaseCluster.shutdown() will just hang in JVMClusterUtil.shutdown(), waiting to join each of the region server threads.
> Seems like we should explicitly stop each region server instead of just relying on an active master instance deleting the cluster status znode?

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