Re: SolrCloud(5x) - Detects all of the Solr insrances on a machine

2012-11-21 Thread deniz
after putting the port information to solr.xml too, it seems properly... i dont know why this thing only happens on remote machines not on local, but could this be a minor bug related with solr? basically if we are giving the port information in the starting command, then we shouldnt be dealing

Re: SolrCloud(5x) - Detects all of the Solr insrances on a machine

2012-11-21 Thread Mark Miller
Limitation of web containers. There is not a clean way to get the port without making some request. If you pass the port as a sys prop on the cmd line and use jetty, it works out of the box. If you don't do that, there is config necessary. - Mark On Nov 21, 2012, at 8:34 PM, deniz

SolrCloud(5x) - Detects all of the Solr insrances on a machine

2012-11-20 Thread deniz
Hello, I am running a Solr instance (4.0), without invoking anything about zookeeper and solrcloud, as a standalone server on a machine. then for testing Solr 5x trunk, i have set 2 Solr (5x) instances, running with -DzkHost= someaddress:port and when i check zookeeper logs, i can see that the

Re: SolrCloud(5x) - Detects all of the Solr insrances on a machine

2012-11-20 Thread Mark Miller
You would have to be giving it the address of zookeeper - otherwise how would the other nodes know about it? Something is fishy. - Mark On Nov 20, 2012, at 3:56 AM, deniz denizdurmu...@gmail.com wrote: Hello, I am running a Solr instance (4.0), without invoking anything about zookeeper

Re: SolrCloud(5x) - Detects all of the Solr insrances on a machine

2012-11-20 Thread deniz
well here are more details about my starting commands This is the standalone SolrServer: (port 8983) java -server -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:+UseCompressedStrings -Dcom.sun.management.jmxremote -d64 -Xmx4096m -Dcom.sun.management.jmxremote.port=

Re: SolrCloud(5x) - Detects all of the Solr insrances on a machine

2012-11-20 Thread deniz
so another test result: i have set up a similar environment on another virtual machine which is running on the same hard machine with my previous example... so basically my standalone solr is running on virtual1:8983 and i set up 3 solr instances which are on virtual2:8995,8996,8997... those

Re: SolrCloud(5x) - Detects all of the Solr insrances on a machine

2012-11-20 Thread Mark Miller
How are you specifying the port? I don't see jetty.port in there. That is critical - it sets the hostPort in solr.xml. - Mark On Tue, Nov 20, 2012 at 9:42 PM, deniz denizdurmu...@gmail.com wrote: so another test result: i have set up a similar environment on another virtual machine which is

Re: SolrCloud(5x) - Detects all of the Solr insrances on a machine

2012-11-20 Thread deniz
Mark Miller-3 wrote How are you specifying the port? I don't see jetty.port in there. That is critical - it sets the hostPort in solr.xml. - Mark setting it with -Djetty.port=blabla or directly in etc/jetty.xml - Zeki ama calismiyor... Calissa yapar... -- View this message in context:

Re: SolrCloud(5x) - Detects all of the Solr insrances on a machine

2012-11-20 Thread Mark Miller
It must be passes with -D as a system prop with the default setup. That feeds hostPort in solr.xml. If you use etc/jetty.xml, but sure to still pass it on the cmd line or also put the port in solr.xml for hostPort. - Mark On Tue, Nov 20, 2012 at 10:11 PM, deniz denizdurmu...@gmail.com wrote:

Re: SolrCloud(5x) - Detects all of the Solr insrances on a machine

2012-11-20 Thread deniz
Mark Miller-3 wrote It must be passes with -D as a system prop with the default setup. That feeds hostPort in solr.xml. If you use etc/jetty.xml, but sure to still pass it on the cmd line or also put the port in solr.xml for hostPort. - Mark basically I should add the port info to the