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

Benjamin Reed commented on ZOOKEEPER-1172:
------------------------------------------

this is great functionality.

@phunt i'm not sure why you are objecting to a system property. i think it is 
much better than putting it in the constructors.

doing a chroot per server will not work. the trees in each replica must be the 
same, so using different roots for servers will cause problems. (it's also 
separate functionality that shouldn't be in this jira.)

> Support for custom org.apache.zookeeper.client.HostProvider implementation.
> ---------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1172
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1172
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: java client
>            Reporter: César Álvarez Núñez
>            Assignee: César Álvarez Núñez
>         Attachments: ZOOKEEPER-1172.patch
>
>
> The interface org.apache.zookeeper.client.HostProvider exist but it is 
> hardcoded to org.apache.zookeeper.client.StaticHostProvider at Zookeeper 
> constructor.
> Now it could be replaced by any other implementation just by calling the new 
> Zookeeper constructor methods which accept a HostProvider as paramater.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to