accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2143) Add convenience method to get ZooKeeper access with MiniAccumuloCluster
Date Tue, 25 Mar 2014 18:40:16 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13946924#comment-13946924
] 

Sean Busbey commented on ACCUMULO-2143:
---------------------------------------

My desire is for #3. (Thanks for chasing that ticket down [~kturner], I knew it was somewhere
but couldn't find it.) Since it wouldn't be in the public API, this version could return a
ZooReaderWriter instead of a bare ZooKeeper.

Presuming we do #3 I don't have a strong feeling about how close is handled, so long as the
expectation for callers is documented in javadocs for the method. I slightly prefer having
MAC close them.

> Add convenience method to get ZooKeeper access with MiniAccumuloCluster
> -----------------------------------------------------------------------
>
>                 Key: ACCUMULO-2143
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2143
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: mini
>            Reporter: Josh Elser
>            Assignee: Michael Wall
>              Labels: newbie
>             Fix For: 1.7.0
>
>
> When using MAC, it may be convenient to get a ZooKeeper object (or a ZooReaderWriter).
> The user has the ability to figure out or set all of the information they need to make
their own connection, but it would be nice to just have a {{MiniAccumuloCluster.getZooKeeper()}}
method.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message