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

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

Option 4 seems like it would result in the following sequence of operations

 # 1 zookeeper server is passed in
 # Use 1 zookeeper server to find location of master
 # Ask master for list of zookeepers
 # Use this list to create new zookeepers connection

This seems a bit odd.  

Why is making a client list all zookeepers a burden?  A client knowing of only 
one zookeeper server seems like a less reliable way to use Accumulo.  Operating 
this way unnecessarily introduces a SPOF. 

                
> 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

Reply via email to