Thanks for the reply This is the exact command on a RHEL 6 machine solr-6.4.1/bin/solr cp file:/home/user1/solr/nodes/day1/solr/solr.xml zk:/solr.xml -z localhost:9983
I am following the documentation of 6.4.1 I am assuming if the solr.xml is present in zookeeper, we can point to an empty directory to start a node? Regards, Imran Sent from Mail for Windows 10 From: Jan Høydahl Sent: Friday, July 7, 2017 2:01 AM To: solr-user@lucene.apache.org Subject: Re: uploading solr.xml to zk > 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 im...@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 >