lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshum Gupta <ans...@anshumgupta.net>
Subject Re: SolrCloud: Chroot error
Date Mon, 09 Mar 2015 16:03:49 GMT
If you 
1. Don't know about chroot and 
2. Don't have other apps using the same zk and no other requirement to change the default;


don't change the defaults. The zk string then should just point to host1:port1,host2:port2...
String without the /path/in/zk part.

-Anshum

> On Mar 9, 2015, at 8:56 AM, Aman Tandon <amantandon.10@gmail.com> wrote:
> 
> Hi Anshum,
> 
> Thanks for your time.
> 
> I am using the external zookeeper. I am unaware that where should i create
> the path in Zk. The directory structure for zookepeer is as follows:
> 
> Zookeeper */ *instance / bin,etc
> Zookeeper / data
> Zookeeper / logs
> 
> instance (contains bin,etc folders of zookeeper server)
> data (dataDir for zookeeper)
> logs (dataDirLog for zookeeper to keep the logs)
> 
> With Regards
> Aman Tandon
> 
>> On Mon, Mar 9, 2015 at 9:02 PM, Anshum Gupta <anshum@anshumgupta.net> wrote:
>> 
>> Looks like the zk you're pointing to doesn't contain the path
>> 'data/solr/aman/solr_cloud'
>> that you've specified as the chroot prefix.
>> Can you confirm that your zk contains this path? If it doesn't, can you
>> create this path and then try?
>> 
>> On Mon, Mar 9, 2015 at 8:19 AM, Aman Tandon <amantandon.10@gmail.com>
>> wrote:
>> 
>>> Hi,
>>> 
>>> I tried to start solr with chroot feature, i am using solr 5.0.0 on
>> Centos
>>> 6 and i am getting this error in the logs. Please help.
>>> 
>>> *./solr start -c -z localhost:2181,192.168.5.11:2181
>>> <http://192.168.5.11:2181>,
>> 192.168.3.13:2181/home/aman/solrcloud/solr_zoo
>>> <http://192.168.3.13:2181/home/aman/solrcloud/solr_zoo> -p 4567*
>>> 
>>> *ERROR - 2015-03-09 12:38:03.394;
>>> org.apache.solr.servlet.SolrDispatchFilter;*
>>> * Could not start Solr. Check solr/home property and the logs*
>>> *ERROR - 2015-03-09 12:38:03.416; org.apache.solr.common.SolrException;
>>> null:*
>>> *org.apache.solr.common.cloud.ZooKeeperException: A chroot was specified
>> in
>>> Z*
>>> *kHost but the znode doesn't exist. 192.168.6.217:2181
>>> <http://192.168.6.217:2181/>,192.168.5.81:2181
>>> <http://192.168.5.81:2181/>,192.*
>>> *168.5.236:2181/data/solr/aman/solr_cloud/zoo_solr*
>>> *        at
>>> org.apache.solr.core.ZkContainer.initZooKeeper(ZkContainer.java:1*
>>> *31)*
>>> 
>>> With Regards
>>> Aman Tandon
>> 
>> 
>> 
>> --
>> Anshum Gupta
>> 

Mime
View raw message