Re: Slaves always replicate entire index & Index versions
I moved solr 4.1 to solr 4.2 on one of slave server earlier my index directory has index.timestamp, but now, it has only index folder no timestamp. Is this is bug.?? Though size of index is same as on master . It shows replication running on dasboard with both master and slave version. what happened to timestamp in index directory index.timestamp -- earlier with 4.1 index -- this is new folder Please reply asap. thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Slaves-always-replicate-entire-index-Index-versions-tp4041256p4053179.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Problem occured in solr cloud set up org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request
Erick, I run 2 solr instances each on serverA and 2 on serverB. Server A : 8983(leader), 8900(replica) ServerB : 7574 (leader), 7500 (replica). Please find the command below in the order in which they are started. Also i am using single embedded zookeeper 9983 for all servers. *serverA* cd /example1a java -DzkRun -DnumShards=2 -Dbootstrap_confdir=./solr/collection1/conf -Dcollection.configName=myconf -jar start.jar *serverB* cd example2a java -Djetty.port=7574 -DzkHost=serverA:9983 -jar start.jar *serverA* cd example 1b java -Djetty.port=8900 -DzkHost=localhost:9983 -jar start.jar *serverB* example2b java -Djetty.port=7500 -DzkHost=serverA:9983 -jar start.jar With this order i can see all nodes up and healthy. I indexed using 8983 and get result using query http://serverA:8983/solr/collection1/select?q=*:* But if i fired the same query using serverB http://serverB:7500/solr/collection1/select?q=*:* I am getting no live server exception. What could be the reason for this?? and how to resolve. Thanks http://serverA:8900/solr/collection1/select?q=*:* -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-occured-in-solr-cloud-set-up-org-apache-solr-client-solrj-SolrServerException-No-live-SolrSet-tp4030829p4031160.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Problem occured in solr cloud set up org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request
Hi Erick, Yes i did update- i.e added a document using 8983. Ideally this update should go to all 8983,8900,7500,7574. And i fired query using 7500. Query is simple http://serverB:7500/solr/collection1/select?q=*:* But this give me error as mentioned in my previous post. No live server. But, When i fire same query on serverA 8983 http://serverB:8983/solr/collection1/select?q=*:* I can see the result. Please tell, i can fire query on any server... As document must be updated to all..? also how to resolve this error.. Is this bug in solr cloud? Thanks Yayati -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-occured-in-solr-cloud-set-up-org-apache-solr-client-solrj-SolrServerException-No-live-SolrSet-tp4030829p4031105.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Replication fails in SolrCloud
Hi Mark, Please find detail stacktrace : 2012-11-30 19:32:58,260 [pool-2-thread-1] ERROR apache.solr.core.CoreContainer - null:org.apache.solr.common.SolrException: ZkSolrResourceLoader does not support getConfigDir() - likely, what you are trying to do is not supported in ZooKeeper mode at org.apache.solr.core.SolrCore.(SolrCore.java:721) at org.apache.solr.core.SolrCore.(SolrCore.java:566) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:850) at org.apache.solr.core.CoreContainer.load(CoreContainer.java:534) at org.apache.solr.core.CoreContainer.load(CoreContainer.java:356) at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:308) at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:107) at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:103) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4638) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:962) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1603) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: org.apache.solr.common.cloud.ZooKeeperException: ZkSolrResourceLoader does not support getConfigDir() - likely, what you are trying to do is not supported in ZooKeeper mode at org.apache.solr.cloud.ZkSolrResourceLoader.getConfigDir(ZkSolrResourceLoader.java:100) We have created some custom search component, where this error occur in inform method at line .getResourceLoader().getConfigDir())); For set up i did following steps. 1. Add version field in schema.xml 2. In seperate zookeeper server, upload configuration of solr. 3. Add following parameter in tomcat startup -Dsolr.solr.home=/home/live/solr -DhostContext=solr -DzkClientTimeout=2 -DzkHost=172.23.xx.xx:2181 4. solr.xml contains: Let me know if you need more details. -- View this message in context: http://lucene.472066.n3.nabble.com/Zookeeper-aware-Replication-in-SolrCloud-tp3479497p4023484.html Sent from the Solr - User mailing list archive at Nabble.com.
can solr admin tab statistics be customized... how can this be achived.
Hi, I want to compute my own stats in addition to solr default stats. How can i enhance statistics in solr? How this thing can be achieved.. Solr compute stats as cumulative, is there is any way to get per instant stats...?? Thanks... waiting for good replies.. -- View this message in context: http://lucene.472066.n3.nabble.com/can-solr-admin-tab-statistics-be-customized-how-can-this-be-achived-tp3996128.html Sent from the Solr - User mailing list archive at Nabble.com.