You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2015/04/11 02:24:13 UTC

[jira] [Updated] (HBASE-6969) Allow for injecting MiniZookeeperCluster instance

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

Andrew Purtell updated HBASE-6969:
----------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed ages ago

> Allow for injecting MiniZookeeperCluster instance
> -------------------------------------------------
>
>                 Key: HBASE-6969
>                 URL: https://issues.apache.org/jira/browse/HBASE-6969
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.92.1
>            Reporter: Micah Whitacre
>         Attachments: 6969v2.txt, hbase-6969.patch
>
>
> While not an official part of the HBase API, it'd be nice if HBaseTestingUtility allowed for consumer to inject their own instance of the MiniZookeeperCluster when executing tests.
> Currently there is no way to control how the ZK instance is started which we've had to hack around when there were ZK version conflicts (3.3 vs 3.4).  Or if you want to control which specific port it starts on vs random.
> Allowing consumers to inject an instance (unstarted) gives them the freedom to implement their own without having to fork the entire HBaseTestingUtility class  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)