Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F032F10A0D for ; Tue, 25 Mar 2014 18:26:27 +0000 (UTC) Received: (qmail 29499 invoked by uid 500); 25 Mar 2014 18:26:22 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 29440 invoked by uid 500); 25 Mar 2014 18:26:20 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 29423 invoked by uid 99); 25 Mar 2014 18:26:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2014 18:26:19 +0000 Date: Tue, 25 Mar 2014 18:26:19 +0000 (UTC) From: "Michael Wall (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2143) Add convenience method to get ZooKeeper access with MiniAccumuloCluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13946897#comment-13946897 ] Michael Wall commented on ACCUMULO-2143: ---------------------------------------- So what is the current desire for this ticket? 1) Do nothing and close the ticket 2) Do what the ticket originally requests and implement a getZookeeper that returns a Zookeeper object in both the MiniAccumuloCluster (public API) and MiniAccumuloClusterImpl (internal) 3) Only implement getZookeeper to return a Zookeeper object in the MiniAccumuloClusterImpl 4) Something different, I am completely off If it is option 2 or 3, do you want MAC to close any returned Zookeeper objects automatically, or simply document they will need to be closed in the Javadoc? Thanks > 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)