hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-3053) Add ability to have multiple Masters LocalHBaseCluster for test writing
Date Wed, 06 Oct 2010 21:43:30 GMT

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

Jonathan Gray resolved HBASE-3053.

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

Thanks for the good reviews stack.  Committed to trunk.

Unit tests now support multiple masters.  You can set the number of masters similarly to how
you would set the number of RSs previously.  There are also methods like getActiveMaster(),
waitForActiveMaster(), etc.. exposed in MiniHBaseCluster (and levels below it).

Let the test writing begin!

> Add ability to have multiple Masters LocalHBaseCluster for test writing
> -----------------------------------------------------------------------
>                 Key: HBASE-3053
>                 URL: https://issues.apache.org/jira/browse/HBASE-3053
>             Project: HBase
>          Issue Type: Improvement
>          Components: master, test
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.90.0
>         Attachments: HBASE-3053-v11.patch
> To really be able to unit test the new master properly, we need to be able to have multiple
masters running at once within a single logical cluster.
> Should expose some methods like getActiveMaster() and isActiveMaster() as well as a simple
way to kill an individual master / kill the active master.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message