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

John Vines commented on ACCUMULO-1229:
--------------------------------------

So, in order for one to talk to a server for it, we'd either need a 
non-authenticated call or have it as a connector method, which seems like a bit 
of a mismatch when there's a getZookeepers method in the instance. So, I think 
the options for this are
# Wait for zookeeper 3.5.0 to be released and switch to that
# Utilize a method in Connector to get the live set of zookeepers
# have an unauthenticated call in Instance to request that information
# Have the master or something like that store the list of zookeepers in 
zookeeper so when the ZKI starts we create a zookeeper, read the list out of 
the cache, and then create a new instance using all available zookeepers (if 
different?).

I think the first and the last are the only legitimate options, with the first 
being really really easy but we have to wait vs. the last which is a bit of 
work for, IMO, marginal gain. That said, I say just wait for ZK 3.5.0 to come 
out and us to eventually switch to that rather then work around it.
                
> 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
>             Fix For: 1.6.0
>
>
> 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

Reply via email to