Thanks Renaud. For me I did this:
1) I created solr cloud using the interactive mode (accepting most default): $ bin/solr -e cloud I do that for both the DataCenter1 (DC1) and DataCenter2 (DC2) (in fact both are on the same machine, just different ports) By now both clouds have a collection called gettingstarted, each cloud has 2 nodes, 2 shards 2) Each dc is using an ensemble of 3 zookeepers 3) I used the basic config that comes with the install and I upload configset to zookeeper using: zkcli.bat -cmd upconfig -zkhost localhost:2181 -confname gettingstarted -solrhome C:\solr\solr-6-cloud\solr-6.0.0 -confdir C:\solr\solr-6-cloud\solr-6.0.0\server\solr\configsets\basic_configs\conf 4) I tested the sites both works fine 5) Then I shut them all (except the zookeepers) 6) change the solrconfig.xml for DC1 to be source 7) change the solrconfig.xml for DC2 to be destination 8) I upload the confg again (update) to zookepper using command in 3 9) then start the 2 clouds using: # start node 1 solr.cmd start -cloud -p 8985 -s "C:\solr\solr-6-cloud\solr-6.0.0-dr\example\cloud\node1\solr" -z localhost:3181 # start node 2 solr.cmd start -cloud -p 7575 -s "C:\solr\solr-6-cloud\solr-6.0.0-dr\example\cloud\node2\solr" -z localhost:3181 10) do the same for DC2 The clouds both throw that error about update log that we started with.... A Question at what time you enable CDCR ? Best Regards, --Abdel. On Thu, May 19, 2016 at 7:12 AM, Renaud Delbru <renaud@siren.solutions> wrote: > I have reproduced your steps and the cdcr request handler started > successfully. I have attached to this mail the config sets I have used. It > is simply the sample_techproducts_config configset with your solrconfig.xml. > > I have used solr 6.0.0 with the following commands: > > $ ./bin/solr start -cloud > > $ ./bin/solr create_collection -c test_cdcr -d cdcr_configs > > Connecting to ZooKeeper at localhost:9983 ... > Uploading /solr-6.0.0/server/solr/configsets/cdcr_configs/conf for config > test_cdcr to ZooKeeper at localhost:9983 > > Creating new collection 'test_cdcr' using command: > > http://localhost:8983/solr/admin/collections?action=CREATE&name=test_cdcr&numShards=1&replicationFactor=1&maxShardsPerNode=1&collection.configName=test_cdcr > > { > "responseHeader":{ > "status":0, > "QTime":5765}, > "success":{"127.0.1.1:8983_solr":{ > "responseHeader":{ > "status":0, > "QTime":4426}, > "core":"test_cdcr_shard1_replica1"}}} > > $ curl http://localhost:8983/solr/test_cdcr/cdcr?action=STATUS > > <?xml version="1.0" encoding="UTF-8"?> > <response> > <lst name="responseHeader"><int name="status">0</int><int > name="QTime">3</int></lst><lst name="status"><str > name="process">stopped</str><str name="buffer">enabled</str></lst> > </response> > > > > The difference is that I have used the embedded zookeeper, not a separate > ensemble. > > Could you please provide the commands you used to create the collection ? > > Kind Regards > -- > Renaud Delbru > > > On 16/05/16 16:55, Satvinder Singh wrote: > >> I also am using a zk ensemble with 3 nodes on each side. >> >> Thanks >> >> >> Satvinder Singh >> >> >> >> Security Systems Engineer >> satvinder.si...@nc4.com >> 703.682.6000 x276 direct >> 703.989.8030 cell >> www.NC4.com >> >> >> >> >> >> >> >> -----Original Message----- >> From: Satvinder Singh [mailto:satvinder.si...@nc4.com] >> Sent: Monday, May 16, 2016 11:54 AM >> To: solr-user@lucene.apache.org >> Subject: RE: Need Help with Solr 6.0 Cross Data Center Replication >> >> Hi, >> >> So the way I am doing it is, for both for the Target and Source side, I >> took a copy of the sample_techproducts_config configset, can created one >> configset. Then I modified the solrconfig.xml in there, both for the Target >> and Source side. And then created the collection, and I get the errors. I >> get the error if I create a new collection or try to reload an existing >> collection after the solrconfig update. >> Attached is the log and configs. >> Thanks >> >> Satvinder Singh >> >> >> >> Security Systems Engineer >> satvinder.si...@nc4.com >> 703.682.6000 x276 direct >> 703.989.8030 cell >> www.NC4.com >> >> >> >> >> >> >> >> -----Original Message----- >> From: Renaud Delbru [mailto:renaud@siren.solutions] >> Sent: Monday, May 16, 2016 11:45 AM >> To: solr-user@lucene.apache.org >> Subject: Re: Need Help with Solr 6.0 Cross Data Center Replication >> >> Hi, >> >> I have tried to reproduce the problem, but was unable to. >> I have downloaded the Solr 6.0 distribution, added to the solr config the >> cdcr request handler and modified the update handler to register the >> CdcrUpdateLog, then start Solr in cloud mode and created a new collection >> using my solr config. The cdcr request handler starts properly and does not >> complain about the update log. >> >> Could you provide more background on how to reproduce the issue ? E.g., >> how do you create a new collection with the cdcr configuration. >> Are you trying to configure CDCR on collections that were created prior >> to the CDCR configuration ? >> >> @Erik: I have noticed a small issue in the CDCR page of the reference >> guide. In the code snippet in Configuration -> Source Configuration, the >> <updateHandler> element is nested within the <requestHandler>. >> >> Thanks >> Regards >> -- >> Renaud Delbru >> >> On 15/05/16 23:13, Abdel Belkasri wrote: >> >>> Erick, >>> >>> I tried the new configuration. The same issue that Satvinder is >>> having. The log updater cannot be instantiated... >>> >>> class="solr.CdcrUpdateLog" >>> >>> for some reason that class is causing a problem! >>> >>> Anyway, anyone has a config that works? >>> >>> Regards, >>> --Abdel >>> >>> On Fri, May 13, 2016 at 11:57 AM, Erick Erickson >>> <erickerick...@gmail.com> >>> wrote: >>> >>> I changed the CDCR doc, Oliver could you take a glance and see if it >>>> is clear now? All I changed was the sample solrconfig sections.... >>>> >>>> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=6268 >>>> 7462 >>>> >>>> Thanks, >>>> Erick >>>> >>>> On Fri, May 13, 2016 at 6:23 AM, Oliver Rudolph >>>> <oliver.rudo...@de.ibm.com> wrote: >>>> >>>>> Hi, >>>>> >>>>> I had the same problem. The documentation is kind of missleading here. >>>>> >>>> You >>>> >>>>> must not add a new <updateHandler> element to your config but update >>>>> the existing <updateHandler>. All you need to do is add the >>>>> class="solr.CdcrUpdateLog" element to the <updateLog> element inside >>>>> your existing <updateHandler>. Hope this helps! >>>>> >>>>> >>>>> Mit freundlichen Grüßen / Kind regards >>>>> >>>>> Oliver Rudolph >>>>> >>>>> IBM Deutschland Research & Development GmbH Vorsitzender des >>>>> Aufsichtsrats: Martina Koederitz >>>>> Geschäftsführung: Dirk Wittkopp >>>>> Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht >>>>> >>>> Stuttgart, >>>> >>>>> HRB 243294 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>> >>> >>> >> Disclaimer: This message is intended only for the use of the individual >> or entity to which it is addressed and may contain information which is >> privileged, confidential, proprietary, or exempt from disclosure under >> applicable law. If you are not the intended recipient or the person >> responsible for delivering the message to the intended recipient, you are >> strictly prohibited from disclosing, distributing, copying, or in any way >> using this message. If you have received this communication in error, >> please notify the sender and destroy and delete any copies you may have >> received. >> >> > -- Abdel K. Belkasri, PhD