Hi there, I've set up a test solr 4.0 cloud with some nodes, everything worked fine until i tried to put more than 1 zookeeper instance.
If i put only one server it's ok eg: java -DzkHost=10.0.0.1:9983 -DzkRun -jar start.jar But if i put more than 1 server in zkHost param an Exception is thrown immediately when parsing the zkHost parameter: Exemple : java -DzkHost=10.0.0.1:9983,10.0.0.2:9983 -DzkRun -jar start.jar [...] SEVERE: null:java.lang.IllegalArgumentException: port out of range:-1 at java.net.InetSocketAddress.<init>(InetSocketAddress.java:83) at java.net.InetSocketAddress.<init>(InetSocketAddress.java:63) at org.apache.solr.cloud.SolrZkServerProps.setClientPort(SolrZkServer.java:315) at org.apache.solr.cloud.SolrZkServerProps.getMySeverId(SolrZkServer.java:278) at org.apache.solr.cloud.SolrZkServerProps.parseProperties(SolrZkServer.java:453) at org.apache.solr.cloud.SolrZkServer.parseConfig(SolrZkServer.java:90) at org.apache.solr.core.CoreContainer.initZooKeeper(CoreContainer.java:208) [...] The "port out of range:-1" look like if zkHost parameter wasn't correctly split as soon as i add a coma in the parameter. I tried to put hostnames instead of ip with no luck. I tried to search in this forum and on the net but didn't find why, any idea ? Thanks, Pascal -- View this message in context: http://lucene.472066.n3.nabble.com/solr4-0-problem-zkHost-with-multiple-hosts-throws-out-of-range-exception-tp4014440.html Sent from the Solr - User mailing list archive at Nabble.com.