Hi All,
I am trying to migrate from solr 4.4 to 5.5.0.
i am facing some issues listed as below . kindly suggest me as to how to resolve these issue .
and also let me know if there are any documentation to do the migration using zookeeper.
command
bin/solr create -c mycollection -d /home/a63f5zz/solr5.5/solr-5.5.0/server/solr/people_core/conf -shards 2 -replicationFactor 2 -p 8985
Error encountered:
[root@arcqa02 solr-5.5.0]# bin/solr create -c mycollection -d /home/a63f5zz/solr5.5/solr-5.5.0/server/solr/people_core/conf -shards 2 -replicationFactor 2 -p 8985
Connecting to ZooKeeper at arcqa02.mmm.com:2181 ...
Uploading /home/a63f5zz/solr5.5/solr-5.5.0/server/solr/people_core/conf for config mycollection to ZooKeeper at arcqa02.mmm.com:2181
Creating new collection 'mycollection' using command:
http://localhost:8985/solr/admin/collections?action=CREATE&name=mycollection&numShards=2&replicationFactor=2&maxShardsPerNode=2&collection.configName=mycollection
ERROR: Failed to create collection 'mycollection' due to: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error from server at http://169.10.64.222:8986/solr: Error CREATEing SolrCore 'mycollection_shard1_replica2': Unable to create core [mycollection_shard1_replica2] Caused by: No system property or default value specified for dataDir value:${dataDir}
Thanks in advance
Usha