Actually that is a collection I've created uploading into Zookeeper a configuration I used for single node, with a replication handler activated to backup the core. I did not send any master/slave config actually, I just created the collection using collection API and the warning is immediately there.
-- Gian Maria Ricci Cell: +39 320 0136949 -----Original Message----- From: Alessandro Benedetti [mailto:abenede...@apache.org] Sent: lunedì 11 gennaio 2016 17:52 To: solr-user@lucene.apache.org Subject: Re: WArning in SolrCloud logs To be honest it seems to me more a wrong usage of java environment variables. Is it possible you are sending the enable master/slave config to the node ? Strictly talking about the replication request handler, it is required for SolrCloud ( there are scenarios where old style replication is still used) . But this supposes to happen automatically . Strip of code that cause the warning : if (enableMaster || enableSlave) { > if (core.getCoreDescriptor().getCoreContainer().getZkController() != > null) { LOG.warn("SolrCloud is enabled for core " + core.getName() + " > but so is old-style replication. Make sure you" + " intend this > behavior, it usually indicates a mis-configuration. Master setting is > " + > Boolean.toString(enableMaster) + " and slave setting is " + Boolean. > toString(enableSlave)); > } > } Cheers On 11 January 2016 at 15:08, Gian Maria Ricci - aka Alkampfer < alkamp...@nablasoft.com> wrote: > I’ve configured three node in solrcloud, everything seems ok, but in > the log I see this kind of warning > > > > SolrCloud is enabled for core xxx_shard3_replica1 but so is old-style > replication. Make sure you intend this behavior, it usually indicates > a mis-configuration. Master setting is true and slave setting is false > > > > > > > > > > > > What could be the reason? Is it possible that this happens because > solrconfig.xml used to create the collection has a replication handler > active? > > -- > Gian Maria Ricci > Cell: +39 320 0136949 > > [image: > https://ci5.googleusercontent.com/proxy/5oNMOYAeFXZ_LDKanNfoLRHC37mAZk > VVhkPN7QxMdA0K5JW2m0bm8azJe7oWZMNt8fKHNX1bzrUTd-kIyE40CmwT2Mlf8OI=s0-d > -e1-ft#http://www.codewrecks.com/files/signature/mvp.png] > <http://mvp.microsoft.com/en-us/mvp/Gian%20Maria%20Ricci-4025635> [image: > https://ci3.googleusercontent.com/proxy/f-unQbmk6NtkHFspO5Y6x4jlIf_xrm > GLUT3fU9y_7VUHSFUjLs7aUIMdZQYTh3eWIA0sBnvNX3WGXCU59chKXLuAHi2ArWdAcBcl > KA=s0-d-e1-ft#http://www.codewrecks.com/files/signature/linkedin.jpg] > <http://www.linkedin.com/in/gianmariaricci> [image: > https://ci3.googleusercontent.com/proxy/gjapMzu3KEakBQUstx_-cN7gHJ_Gpc > IZNEPjCzOYMrPl-r1DViPE378qNAQyEWbXMTj6mcduIAGaApe9qHG1KN_hyFxQAIkdNSVT > =s0-d-e1-ft#http://www.codewrecks.com/files/signature/twitter.jpg] > <https://twitter.com/alkampfer> [image: > https://ci5.googleusercontent.com/proxy/iuDOD2sdaxRDvTwS8MO7-CcXchpNJX > 96uaWuvagoVLcjpAPsJi88XeOonE4vHT6udVimo7yL9ZtdrYueEfH7jXnudmi_Vvw=s0-d > -e1-ft#http://www.codewrecks.com/files/signature/rss.jpg] > <http://feeds.feedburner.com/AlkampferEng> [image: > https://ci6.googleusercontent.com/proxy/EBJjfkBzcsSlAzlyR88y86YXcwaKfn > 3x7ydAObL1vtjJYclQr_l5TvrFx4PQ5qLNYW3yp7Ig66DJ-0tPJCDbDmYAFcamPQehwg=s > 0-d-e1-ft#http://www.codewrecks.com/files/signature/skype.jpg] > > > -- -------------------------- Benedetti Alessandro Visiting card : http://about.me/alessandro_benedetti "Tyger, tyger burning bright In the forests of the night, What immortal hand or eye Could frame thy fearful symmetry?" William Blake - Songs of Experience -1794 England