lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <jan....@cominvent.com>
Subject Re: uploading solr.xml to zk
Date Fri, 07 Jul 2017 09:00:36 GMT
> ERROR: cp is not a valid command!

Can you write the exact command you typed again?
Once solr.xml is in zookeeper, solr will find it automatically.

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

> 7. jul. 2017 kl. 21.31 skrev imran@elogic.pk:
> 
> The documentation says
> 
> If you for example would like to keep your solr.xml in ZooKeeper to avoid having to copy
it to every node's so
> lr_home directory, you can push it to ZooKeeper with the bin/solr utility (Unix example):
> bin/solr cp file:local/file/path/to/solr.xml zk:/solr.xml -z localhost:2181
> 
> So Im trying to push the solr.xml my local zookeepr
> 
> solr-6.4.1/bin/solr  file:/home/user1/solr/nodes/day1/solr/solr.xml zk:/solr.xml -z localhost:9983
> 
> ERROR: cp is not a valid command!
> 
> Afterwards
> When starting up a node how do we refer to the solr.xml inside zookeeper? Any examples?
> 
> Thanks
> Imran
> 
> 
> Sent from Mail for Windows 10
> 


Mime
View raw message