You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by J Mohamed Zahoor <za...@indix.com> on 2013/01/24 07:57:36 UTC
zookeeper config
Hi
I am using Solr 4.0.
I see the Solr data in zookeeper is placed on the root znode itself.
This becomes a pain if the zookeeper instance is used for multiple projects like HBase and like.
I am thinking of raising a Jira for putting them under a znode /solr or something like that?
./Zahoor
Re: zookeeper config
Posted by Mark Miller <ma...@gmail.com>.
On Jan 24, 2013, at 7:05 AM, Shawn Heisey <so...@elyograg.org> wrote:
> My experience has been that you put the chroot at the very end, not on every host entry
Yup - this came up on the mailing list not too long ago and it's currently correctly documented on the SolrCloud wiki.
- Mark
Re: zookeeper config
Posted by Shawn Heisey <so...@elyograg.org>.
On 1/24/2013 12:58 AM, Per Steffensen wrote:
> This is supported. You just need to ajust your ZK connection-string:
> "<host1>:<port1>/solr,<host2>:<port2>/solr,...,<hostN>:<portN>/solr"
My experience has been that you put the chroot at the very end, not on
every host entry. For a standalone zookeeper ensemble with three nodes:
"server1:2181,server2:2181,server3:2181/mysolr1"
This is used for the zkHost parameter both on Solr startup and with the
CloudSolrServer object from SolrJ. The string is used without
modification in constructing the actual ZooKeeper object down in the
SolrCloud internals. Here's the documentation for that object:
http://zookeeper.apache.org/doc/r3.4.5/api/org/apache/zookeeper/ZooKeeper.html#ZooKeeper%28java.lang.String,%20int,%20org.apache.zookeeper.Watcher%29
Thanks,
Shawn
Re: zookeeper config
Posted by J Mohamed Zahoor <za...@indix.com>.
Cool. Thanks.
On 24-Jan-2013, at 1:28 PM, Per Steffensen <st...@designware.dk> wrote:
> This is supported. You just need to ajust your ZK connection-string: "<host1>:<port1>/solr,<host2>:<port2>/solr,...,<hostN>:<portN>/solr"
>
> Regards, Per Steffensen
>
> On 1/24/13 7:57 AM, J Mohamed Zahoor wrote:
>> Hi
>>
>> I am using Solr 4.0.
>> I see the Solr data in zookeeper is placed on the root znode itself.
>> This becomes a pain if the zookeeper instance is used for multiple projects like HBase and like.
>>
>> I am thinking of raising a Jira for putting them under a znode /solr or something like that?
>>
>> ./Zahoor
>>
>>
>
Re: zookeeper config
Posted by Per Steffensen <st...@designware.dk>.
This is supported. You just need to ajust your ZK connection-string:
"<host1>:<port1>/solr,<host2>:<port2>/solr,...,<hostN>:<portN>/solr"
Regards, Per Steffensen
On 1/24/13 7:57 AM, J Mohamed Zahoor wrote:
> Hi
>
> I am using Solr 4.0.
> I see the Solr data in zookeeper is placed on the root znode itself.
> This becomes a pain if the zookeeper instance is used for multiple projects like HBase and like.
>
> I am thinking of raising a Jira for putting them under a znode /solr or something like that?
>
> ./Zahoor
>
>