Where does admin UI visually distinguish between master and slave?
Hi all, I'm getting started with a master/slave configuration for two solr instances. Two distinguish between 'master' and 'slave', I've set he system properties (e.g. -Dmaster.enabled) and using the same 'solrconfig.xml'. I can see via the system properties admin UI that the jvm (and thus solr) sees correct values, i.e.: enable.master = false enable.slave = true However, the replication admin UI is identical for both 'master' and 'slave'. (i.e. http://localhost:8983/solr/production/admin/replication/index.jsp) I'd like a clearer visual confirmation that the master node is indeed a master and the slave is a slave. Summary question: Does the admin UI distinguish betwen master and slave? thanks will
Re: Where does admin UI visually distinguish between master and slave?
Hi Will, I don't think we have a clean master or slave label anywhere in the Admin UI. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message From: Will Milspec will.mils...@gmail.com To: solr-user@lucene.apache.org Sent: Wed, January 12, 2011 11:18:17 AM Subject: Where does admin UI visually distinguish between master and slave? Hi all, I'm getting started with a master/slave configuration for two solr instances. Two distinguish between 'master' and 'slave', I've set he system properties (e.g. -Dmaster.enabled) and using the same 'solrconfig.xml'. I can see via the system properties admin UI that the jvm (and thus solr) sees correct values, i.e.: enable.master = false enable.slave = true However, the replication admin UI is identical for both 'master' and 'slave'. (i.e. http://localhost:8983/solr/production/admin/replication/index.jsp) I'd like a clearer visual confirmation that the master node is indeed a master and the slave is a slave. Summary question: Does the admin UI distinguish betwen master and slave? thanks will
Re: Where does admin UI visually distinguish between master and slave?
Well, slaves to show different things in the replication.jsp page. Master http://10cc:8080/solr/replication Poll Interval 00:00:10 Local Index Index Version: 1294666552434, Generation: 2515 Location: /var/lib/solr/data/index Size: 4.65 GB Times Replicated Since Startup: 934 Where master nodes (or slaves where enabled=false) show: Local Index Index Version: 1294666552449, Generation: 2530 Location: /var/lib/solr/data/index Size: 4.65 GB On Wednesday 12 January 2011 17:24:57 Otis Gospodnetic wrote: Hi Will, I don't think we have a clean master or slave label anywhere in the Admin UI. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message From: Will Milspec will.mils...@gmail.com To: solr-user@lucene.apache.org Sent: Wed, January 12, 2011 11:18:17 AM Subject: Where does admin UI visually distinguish between master and slave? Hi all, I'm getting started with a master/slave configuration for two solr instances. Two distinguish between 'master' and 'slave', I've set he system properties (e.g. -Dmaster.enabled) and using the same 'solrconfig.xml'. I can see via the system properties admin UI that the jvm (and thus solr) sees correct values, i.e.: enable.master = false enable.slave = true However, the replication admin UI is identical for both 'master' and 'slave'. (i.e. http://localhost:8983/solr/production/admin/replication/index.jsp) I'd like a clearer visual confirmation that the master node is indeed a master and the slave is a slave. Summary question: Does the admin UI distinguish betwen master and slave? thanks will -- Markus Jelsma - CTO - Openindex http://www.linkedin.com/in/markus17 050-8536620 / 06-50258350
Re: Where does admin UI visually distinguish between master and slave?
Hi all, Thanks for the feedback. I've checked the code with a few different inputs and believe I have found a bug. Could someone comment as to whether I'm missing something? I will file go ahead and file it if someone can attest looks like a bug. Bug Summary: == - Admin UI replication/index.jsp checks for master or slave with the following code: if (true.equals(detailsMap.get(isSlave))) - if slave, replication/index.jsp displays the Master and Poll Intervals, etc. sections (everything up to Cores) - if false, replication/index.jsp does not display the Master, Poll Intervals section -This slave check/UI difference works correctly if the solrconfig.xml has a slave but not master section or vice versa Expected results: == Same UI difference would occur in the following scenario: a) solrconfig.xml has both master and slave entries b) use java.properties (-Dsolr.enable.master -Dsolr.enable.slave) to set master or slave at runtime *OR* c) use solrcore.properties to set master and slave at runtime Actual results: == If solrconfig.xml has both master and slave entries, replication/index.jsp shows both master and slave section regardless of system.properties On Wed, Jan 12, 2011 at 10:35 AM, Markus Jelsma markus.jel...@openindex.iowrote: Well, slaves to show different things in the replication.jsp page. Master http://10cc:8080/solr/replication Poll Interval 00:00:10 Local Index Index Version: 1294666552434, Generation: 2515 Location: /var/lib/solr/data/index Size: 4.65 GB Times Replicated Since Startup: 934 Where master nodes (or slaves where enabled=false) show: Local Index Index Version: 1294666552449, Generation: 2530 Location: /var/lib/solr/data/index Size: 4.65 GB On Wednesday 12 January 2011 17:24:57 Otis Gospodnetic wrote: Hi Will, I don't think we have a clean master or slave label anywhere in the Admin UI. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message From: Will Milspec will.mils...@gmail.com To: solr-user@lucene.apache.org Sent: Wed, January 12, 2011 11:18:17 AM Subject: Where does admin UI visually distinguish between master and slave? Hi all, I'm getting started with a master/slave configuration for two solr instances. Two distinguish between 'master' and 'slave', I've set he system properties (e.g. -Dmaster.enabled) and using the same 'solrconfig.xml'. I can see via the system properties admin UI that the jvm (and thus solr) sees correct values, i.e.: enable.master = false enable.slave = true However, the replication admin UI is identical for both 'master' and 'slave'. (i.e. http://localhost:8983/solr/production/admin/replication/index.jsp) I'd like a clearer visual confirmation that the master node is indeed a master and the slave is a slave. Summary question: Does the admin UI distinguish betwen master and slave? thanks will -- Markus Jelsma - CTO - Openindex http://www.linkedin.com/in/markus17 050-8536620 / 06-50258350