On Aug 13, 2012, at 6:15 PM, Chris Hostetter wrote:

> 
> : We would like to use multiple jvm's to host solr cores but can not 
> : because the queries ignore the jetty.port settings. The following is 
> : they query generated using the admin interface, solr is running in jetty 
> : under port 8080.
> : 
> : http://solr-cluster-1.issuu.com:8983/solr/core0/select?q=*%3A*&wt=xml
> 
Problem is fixed, I needed to delete all zookeeper data and restart zookeeper 
for the changes to take effect. The SolrAdmin -> Cloud -> Graph showed the 
problem. 

> can you please elaborate on what you mean...
> 
Yes, we have a 32 shard solr 4.0.0 deployment running in two jetty processes on 
different hosts. Each process hosts 16 solr cores; each core one shard.
We want to find an optimal configuration of cores to jetty processes; so 
something in between

jetty:8001 -- solr-core1 -- shard1
jetty:8082 -- solr-core2 -- shard2
... 
jetty:8032 -- solr-core32 -- shard32 

AND

jetty:8000 -- solr-core1 -- shard1 
                      solr-core2 -- shard2 
                      ...
                      solr-core32 -- shard32 

So far we have tried the latter.

> how exactly are you running solr? 
Using solr version 4.0.0-ALHPA on two physical hosts solr-cluster-1 and 
solr-cluster-2. 
solr-cluster-1 has one jetty process, running 16 solr cores
solr-cluster-2 has one jetty process, running 16 solr cores
Using 32 shards

Yes solr-cluster-X is big iron :-)

> how are you configuring jetty?
Excerpt from .../jetty/start.init

# JMX monitoring to connect via jconsole
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9004
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Djava.rmi.server.hostname=solr-cluster-1
-Djetty.port=8080
# Solr
-Dbootstrap_confdir=/apps/solr/core0/conf
-Dcollection.configName=core0
-Dsolr.solr.home=/apps/solr/core0
-Djava.awt.headless=true
-DnumShards=32
# Zoo keeper
-Dzkhost=solr-cluster-1:2181,solr-cluster-2:2181
# Jvm
-Djava.awt.headless=true
-Xmx8G
-Xms8G
-server
-verbose:gc
-XX:+PrintGCDateStamps
-XX:+PrintGCTimeStamps
-XX:+PrintGCDetails
-XX:+PrintTenuringDistribution
-XX:+PrintCommandLineFlags
-XX:+DisableExplicitGC
-XX:+UseConcMarkSweepGC
-XX:ParallelCMSThreads=2
-XX:+CMSClassUnloadingEnabled
-XX:+UseCMSCompactAtFullCollection
-XX:CMSInitiatingOccupancyFraction=80
> 
> how are you executing the query?
> where did you see that URL?
> 
Both through the admin interface and via curl
> It sounds like you are asking about the Query form in the Admin UI.
> If i start Solr up in jetty using port 8080, and load the Admin UI query 
> form...
> 
> http://localhost:8080/solr/#/collection1/query
> 
> Then when i click "Execute Query", the URL fetched by the UI is...
> 
> http://localhost:8080/solr/collection1/select?q=*%3A*&wt=xml
> 
> 
> -Hoss

Reply via email to