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 5865210F8B for ; Fri, 6 Sep 2013 19:27:55 +0000 (UTC) Received: (qmail 86563 invoked by uid 500); 6 Sep 2013 19:27:54 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 86058 invoked by uid 500); 6 Sep 2013 19:27:52 -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 86027 invoked by uid 99); 6 Sep 2013 19:27:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Sep 2013 19:27:51 +0000 Date: Fri, 6 Sep 2013 19:27:51 +0000 (UTC) From: "John Vines (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1229) ZooKeeperInstance.getZookeepers() should return all zookeepers, not just what was given to the constructor 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-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760536#comment-13760536 ] John Vines commented on ACCUMULO-1229: -------------------------------------- Take case where you have a cluster getting scaled out. Part of that is going from 3 to 5 zookeepers. It would be really nice to not have to update the code for anything running on top of it to utilize the new zookeeper servers. > ZooKeeperInstance.getZookeepers() should return all zookeepers, not just what was given to the constructor > ---------------------------------------------------------------------------------------------------------- > > Key: ACCUMULO-1229 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1229 > Project: Accumulo > Issue Type: Improvement > Components: client > Reporter: John Vines > Priority: Minor > > Currently the suggested Instance is ZooKeeperInstance, which requires an instance name and all zookeepers the client should use to be specified. The client could reference just one or not necessarily all of them. The API should be able to get all of the known zookeepers from the system, so we should reduce the burden on the clients for ZooKeeper instance and just have them list at least one to get initial contact and then update the Instance appropriately. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira