Your solr.xml config looks okay. Except sharedLib="lib"
, sharedLib attribute belongs to tag <solr persistent="true" sharedLib="lib">
.
Exception Caused by: java.net.UnknownHostException: COMPUTER-NAME
Please ensure following:
1) ZooKeeper hostname(s) provided in zkHost
param are mapped in hosts
file
-DzkHost=COMPUTER-NAME:2181,localhost:2182,localhost:2183
Hosts file definition
127.0.0.1 localhost
xxx.xxx.xxx.xxx COMPUTER-NAME
2) Updated solr.xml
present in correct path of SOLR_HOME