Hi all, I tried to create a collection with 3 shards and it got created. Verified the same in SOLR Dashboard.
But while creating the collection I'm seeing a "Connection Refused" when connecting to Zookeeper. Following is the expectation trace. Can somebody spot the mistake that is happening with my settings? [something@something solr-5.3.1]$ bin/solr create_collection -c T3Collection1 -n T3Collection1_Config -d /opt/solr-5.3.1/example/example-DIH/solr/db -shards 3 -p 8993 Connecting to ZooKeeper at server01:2181,server02:2181,server03:2181/t3solr ... WARN - 2015-12-10 14:46:58.476; org.apache.zookeeper.ClientCnxn$SendThread; Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) Uploading /opt/solr-5.3.1/example/example-DIH/solr/db/conf for config T3Collection1_Config to ZooKeeper at server01:2181,server02:2181,server03:2181/t3solr Creating new collection 'T3Collection1' using command: http://localhost:8993/solr/admin/collections?action=CREATE&name=T3Collection1&numShards=3&replicationFactor=1&maxShardsPerNode=1&collection.configName=T3Collection1_Config { "responseHeader":{ "status":0, "QTime":2141}, "success":{"":{ "responseHeader":{ "status":0, "QTime":1932}, "core":"T3Collection1_shard2_replica1"}}} When I try to do a downconfig I get the following exception, [something@something solr-5.3.1]$ ./server/scripts/cloud-scripts/zkcli.sh -zkhost server01:2181,server02:2181,server03:2181 -cmd downconfig -confname T3Collection1_Config -confdir "/opt/solr-5.3.1/downconfigs" Exception in thread "main" java.io.IOException: Error downloading files from zookeeper path /configs/T3Collection1_Config to /opt/solr-5.3.1/downconfigs at org.apache.solr.common.cloud.ZkConfigManager.downloadFromZK(ZkConfigManager.java:107) at org.apache.solr.common.cloud.ZkConfigManager.downloadConfigDir(ZkConfigManager.java:131) at org.apache.solr.cloud.ZkCLI.main(ZkCLI.java:230) Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /configs/T3Collection1_Config at org.apache.zookeeper.KeeperException.create(KeeperException.java:111) at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1472) at org.apache.solr.common.cloud.SolrZkClient$6.execute(SolrZkClient.java:328) at org.apache.solr.common.cloud.SolrZkClient$6.execute(SolrZkClient.java:325) at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:61) at org.apache.solr.common.cloud.SolrZkClient.getChildren(SolrZkClient.java:325) at org.apache.solr.common.cloud.ZkConfigManager.downloadFromZK(ZkConfigManager.java:92) ... 2 more Thank you, Aswath NS