accumulo-notifications mailing list archives

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

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

Josh Elser commented on ACCUMULO-2143:
--------------------------------------

If we can't agree to put a method to return a ZooKeeper object via the "public API", we should
just close this. I don't see checking the impl, casting, and then calling this method on this
implementation being any easier than just making a ZooKeeper object myself.

In terms of the choices, I still think #2 should be done (probably auto-closing that ZK connection
for the user before we terminate the ZK process); otherwise, #1.

> 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