lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aman Tandon <amantandon...@gmail.com>
Subject Re: SolrCloud: Chroot error
Date Mon, 09 Mar 2015 16:03:42 GMT
Hi Shawn,

Thanks for replying, Just to send the mail, I replaced the IP addresses
with the imaginary hostname, now the command is

*./solr start -c -z localhost:2181,abc.com:2181
<http://abc.com:2181>,xyz.com:2181/home/aman/solrcloud/solr_zoo
<http://xyz.com: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. localhost:2181,abc.com:2181
<http://abc.com:2181>,xyz.com <http://xyz.com>*
*:2181/data/solr/aman/solr_cloud/zoo_solr*
*        at
org.apache.solr.core.ZkContainer.initZooKeeper(ZkContainer.java:1*
*31)*

With Regards
Aman Tandon

On Mon, Mar 9, 2015 at 9:26 PM, 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message