Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6969

Allow for injecting MiniZookeeperCluster instance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.92.1
    • None
    • test
    • None

    Description

      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

      Attachments

        1. hbase-6969.patch
          2 kB
          Micah Whitacre
        2. 6969v2.txt
          3 kB
          Michael Stack

        Activity

          People

            Unassigned Unassigned
            mkwhitacre Micah Whitacre
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: