You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2021/07/12 14:33:00 UTC

[jira] [Updated] (HBASE-26080) Implement a new mini cluster class for end users

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

Duo Zhang updated HBASE-26080:
------------------------------
    Release Note: 
Introduce a new TestingHBaseCluster for end users to start a mini hbase cluster in tests.

After starting the cluster, you can create a Connection with the returned Configuration instance for accessing the cluster.

Besides the mini hbase cluster, TestingHBaseCluster will also start a zookeeper cluster and dfs cluster. But you can not control the zookeeper and dfs cluster separately, as for end users, you do not need to test the behavior of HBase cluster when these systems are broken.

We provide methods for start/stop master and region server, and also the whole hbase cluster. Notice that, we do not provide methods to get the address for masters and regionservers, or locate a region, you could use the Admin interface to do this.

> Implement a new mini cluster class for end users
> ------------------------------------------------
>
>                 Key: HBASE-26080
>                 URL: https://issues.apache.org/jira/browse/HBASE-26080
>             Project: HBase
>          Issue Type: Sub-task
>          Components: API, test
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 2.5.0, 3.0.0-alpha-2
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)