accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1229) ZooKeeperInstance.getZookeepers() should return all zookeepers, not just what was given to the constructor
Date Tue, 10 Sep 2013 17:29:52 GMT

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

Keith Turner commented on ACCUMULO-1229:
----------------------------------------

Would there ever be a need for ZooKeeperInstance to only connect to the zookeepers the user
passed (and no others)?  I can not think of a use case at the moment. Want to avoid the situation
where we cause problems for users when we were just trying to help them.

Another option to consider is not changing ZooKeeperInstance at all and providing utility
methods for obtaining a complete list of zookeeper servers from Accumulo.  A problem with
this option is that it does not work with existing user code.  If ZookeeperInstance itself
is changed then existing code could benefit.








                
> 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

Mime
View raw message