Hi all,

I have setup a 3 server Zookeeper cluster by following the instructions 
provided from Zookeeper site:

I am having experiences trying to zkCli.bat into the Zookeeper services on 3 
EC2 instances once after I have started the ZK services on all 3 servers.

For example, I have setup my three servers to have the IPs:
Server1 - 172.18.111.111:2181
Server2 - 172.18.111.112:2182
Server3 - 172.18.112.112:2183

I am using Solr v.5.2.1.

When I have started Solr to run with the Zookeeper services and attempting to 
upload the configuration to Zookeeper, I get the following failure message 
reported by solr.cmd when attempting to create a collection using solr.cmd.

D:\Solr-5.2.1-Instance\bin>solr.cmd create_collection -c sitecore_core_index -n
sitecore_common_config -shards 1 -replicationFactor 3
Connecting to ZooKeeper at 172.18.111.111:2181,172.18.111.112:2182,172.18.112.11
2:2183
Re-using existing configuration directory sitecore_common_config

Creating new collection 'sitecore_core_index' using command:
http://172.18.112.112:8983/solr/admin/collections?action=CREATE&name=sitecore_co
re_index&numShards=1&replicationFactor=3&maxShardsPerNode=1&collection.configNam
e=sitecore_common_config

{
  "responseHeader":{
    "status":0,
    "QTime":1735},
  "failure":{"":"org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrExce
ption:Error from server at http://172.18.111.112:8983/solr: Error CREATEing Solr
Core 'sitecore_core_index_shard1_replica2': Unable to create core [sitecore_core
_index_shard1_replica2] Caused by: Can't find resource 'solrconfig.xml' in class
path or '/configs/sitecore_common_config', cwd=D:\\Solr-5.2.1-Instance\\server"}
}

I do a  check to see if solrconfig.xml is present in the Zookeeper, if I run 
zkCli.bat -cmd list on the each of the server, I can see that solrconfig.xml is 
listed:

DATA:

/configs (1)
  /configs/sitecore_common_config (1)
   /configs/sitecore_common_config/conf (8)
    /configs/sitecore_common_config/conf/currency.xml (0)
    DATA: ...supressed...
    /configs/sitecore_common_config/conf/protwords.txt (0)
    DATA: ...supressed...
    /configs/sitecore_common_config/conf/solrconfig.xml (0)
    DATA: ...supressed...
    /configs/sitecore_common_config/conf/synonyms.txt (0)
    DATA: ...supressed...
    /configs/sitecore_common_config/conf/stopwords.txt (0)
    DATA: ...supressed...
    /configs/sitecore_common_config/conf/schema.xml (0)
    DATA: ...supressed...
    /configs/sitecore_common_config/conf/_rest_managed.json (0)
    DATA:
        {"initArgs":{},"managedList":[]}

    /configs/sitecore_common_config/conf/lang (1)
     /configs/sitecore_common_config/conf/lang/stopwords_en.txt (0)
     DATA: ...supressed...
/zookeeper (1)
DATA:

/overseer (6)
DATA:

Has anyone come across this issue before for Solr 5.2.1?

Regards,
Adrian

Reply via email to