accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-3000) Allow use of existing ZK service in MiniAccumuloCluster
Date Thu, 16 Apr 2015 17:59:59 GMT


Josh Elser commented on ACCUMULO-3000:

I just realized that I didn't do a good job at the "big picture" of why I requested this.

For our integration tests which primarily rely upon MiniAccumuloCluster, each test class (if
not test method) will start ZooKeeper and then Accumulo processes. If we can start a single
ZK instance (in the Maven pre-integration lifecycle phase) and have all MACs use that ZK instance
instead of starting their own, it should help the speed at which the tests can run.

Allowing MAC to use another ZK instance is a first step. The next step would be modifying
the build to start that single ZK instance, provide some configuration to the integration
tests to use instead, and then stop the ZK instance at the end of the integration tests.

> Allow use of existing ZK service in MiniAccumuloCluster
> -------------------------------------------------------
>                 Key: ACCUMULO-3000
>                 URL:
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: mini
>    Affects Versions: 1.5.1, 1.6.0
>            Reporter: Josh Elser
>            Assignee: Trent Nadeau
>            Priority: Minor
>              Labels: newbie
>             Fix For: 1.8.0
> A test harness may have already started ZooKeeper for other testing. MiniAccumuloCluster
could use that same ZooKepeer instance, instead of creating its own, but it is currently not
possible given what MAC does now.

This message was sent by Atlassian JIRA

View raw message